UNPKG

@altostra/core

Version:

Core library for shared types and logic

15 lines (14 loc) 745 B
import type { Arn } from "../../CustomTypes/Arn"; import type { AwsResourceCommon } from "../common"; import type { CloudFormationValue } from "../IntrinsicFunctions"; export declare type SecretTargetAttachmentType = 'AWS::SecretsManager::SecretTargetAttachment'; export interface SecretTargetAttachment extends AwsResourceCommon { Type: SecretTargetAttachmentType; Properties: SecretTargetAttachmentProperties; } export interface SecretTargetAttachmentProperties { SecretId: CloudFormationValue<Arn>; TargetId: CloudFormationValue<Arn>; TargetType: TargetType; } export declare type TargetType = 'AWS::DocDB::DBCluster' | 'AWS::DocDB::DBInstance' | 'AWS::RDS::DBCluster' | 'AWS::RDS::DBInstance' | 'AWS::Redshift::Cluster';