@aws-cdk/aws-secretsmanager
Advanced tools
Comparing version 0.21.0 to 0.22.0
@@ -34,3 +34,3 @@ import cdk = require('@aws-cdk/cdk'); | ||
private readonly props; | ||
constructor(parent: cdk.Construct, id: string, props: SecretStringProps); | ||
constructor(scope: cdk.Construct, id: string, props: SecretStringProps); | ||
/** | ||
@@ -37,0 +37,0 @@ * Return the full value of the secret |
@@ -10,4 +10,4 @@ "use strict"; | ||
class SecretString extends cdk.DynamicReference { | ||
constructor(parent, id, props) { | ||
super(parent, id, { | ||
constructor(scope, id, props) { | ||
super(scope, id, { | ||
service: cdk.DynamicReferenceService.SecretsManager, | ||
@@ -42,2 +42,2 @@ referenceKey: '', | ||
exports.SecretString = SecretString; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjcmV0LXN0cmluZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNlY3JldC1zdHJpbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxvQ0FBcUM7QUE4QnJDOzs7O0dBSUc7QUFDSCxNQUFhLFlBQWEsU0FBUSxHQUFHLENBQUMsZ0JBQWdCO0lBQ3BELFlBQVksTUFBcUIsRUFBRSxFQUFVLEVBQW1CLEtBQXdCO1FBQ3RGLEtBQUssQ0FBQyxNQUFNLEVBQUUsRUFBRSxFQUFFO1lBQ2hCLE9BQU8sRUFBRSxHQUFHLENBQUMsdUJBQXVCLENBQUMsY0FBYztZQUNuRCxZQUFZLEVBQUUsRUFBRTtTQUNqQixDQUFDLENBQUM7UUFKMkQsVUFBSyxHQUFMLEtBQUssQ0FBbUI7SUFLeEYsQ0FBQztJQUVEOztPQUVHO0lBQ0gsSUFBVyxLQUFLO1FBQ2QsT0FBTyxJQUFJLENBQUMsdUJBQXVCLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDMUMsQ0FBQztJQUVEOztPQUVHO0lBQ0ksY0FBYyxDQUFDLEdBQVc7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uXG4gICAgcmV0dXJuIHRoaXMubWFrZVJlc29sdmVWYWx1ZShjZGsuRHluYW1pY1JlZmVyZW5jZVNlcnZpY2UuU2VjcmV0c01hbmFnZXIsIHBhcnRzLmpvaW4oJzonKSk7XG4gIH1cbn1cbiJdfQ== |
@@ -15,3 +15,3 @@ import cdk = require('@aws-cdk/cdk'); | ||
*/ | ||
secretId: string | cdk.Token; | ||
secretId: string; | ||
} | ||
@@ -30,7 +30,7 @@ /** | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnResourcePolicy`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnResourcePolicy`` | ||
* @param scope scope in which this resource is defined | ||
* @param id scoped id of the resource | ||
* @param props resource properties | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnResourcePolicyProps); | ||
constructor(scope: cdk.Construct, id: string, props: CfnResourcePolicyProps); | ||
readonly propertyOverrides: CfnResourcePolicyProps; | ||
@@ -41,42 +41,2 @@ protected renderProperties(properties: any): { | ||
} | ||
export declare namespace cloudformation { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-resourcepolicy.html | ||
*/ | ||
interface ResourcePolicyResourceProps { | ||
/** | ||
* ``AWS::SecretsManager::ResourcePolicy.ResourcePolicy`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-resourcepolicy.html#cfn-secretsmanager-resourcepolicy-resourcepolicy | ||
*/ | ||
resourcePolicy: object | cdk.Token; | ||
/** | ||
* ``AWS::SecretsManager::ResourcePolicy.SecretId`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-resourcepolicy.html#cfn-secretsmanager-resourcepolicy-secretid | ||
*/ | ||
secretId: string | cdk.Token; | ||
} | ||
/** | ||
* @deprecated "cloudformation.ResourcePolicyResource" will be deprecated in a future release in favor of "CfnResourcePolicy" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-resourcepolicy.html | ||
*/ | ||
class ResourcePolicyResource extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::SecretsManager::ResourcePolicy"; | ||
readonly resourcePolicySecretArn: string; | ||
/** | ||
* Creates a new ``AWS::SecretsManager::ResourcePolicy``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``ResourcePolicyResource`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``ResourcePolicyResource`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: ResourcePolicyResourceProps); | ||
readonly propertyOverrides: ResourcePolicyResourceProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
} | ||
/** | ||
@@ -90,3 +50,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html | ||
*/ | ||
secretId: string | cdk.Token; | ||
secretId: string; | ||
/** | ||
@@ -96,3 +56,3 @@ * ``AWS::SecretsManager::RotationSchedule.RotationLambdaARN`` | ||
*/ | ||
rotationLambdaArn?: string | cdk.Token; | ||
rotationLambdaArn?: string; | ||
/** | ||
@@ -116,7 +76,7 @@ * ``AWS::SecretsManager::RotationSchedule.RotationRules`` | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnRotationSchedule`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnRotationSchedule`` | ||
* @param scope scope in which this resource is defined | ||
* @param id scoped id of the resource | ||
* @param props resource properties | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnRotationScheduleProps); | ||
constructor(scope: cdk.Construct, id: string, props: CfnRotationScheduleProps); | ||
readonly propertyOverrides: CfnRotationScheduleProps; | ||
@@ -139,59 +99,2 @@ protected renderProperties(properties: any): { | ||
} | ||
export declare namespace cloudformation { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html | ||
*/ | ||
interface RotationScheduleResourceProps { | ||
/** | ||
* ``AWS::SecretsManager::RotationSchedule.SecretId`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html#cfn-secretsmanager-rotationschedule-secretid | ||
*/ | ||
secretId: string | cdk.Token; | ||
/** | ||
* ``AWS::SecretsManager::RotationSchedule.RotationLambdaARN`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html#cfn-secretsmanager-rotationschedule-rotationlambdaarn | ||
*/ | ||
rotationLambdaArn?: string | cdk.Token; | ||
/** | ||
* ``AWS::SecretsManager::RotationSchedule.RotationRules`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html#cfn-secretsmanager-rotationschedule-rotationrules | ||
*/ | ||
rotationRules?: RotationScheduleResource.RotationRulesProperty | cdk.Token; | ||
} | ||
/** | ||
* @deprecated "cloudformation.RotationScheduleResource" will be deprecated in a future release in favor of "CfnRotationSchedule" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html | ||
*/ | ||
class RotationScheduleResource extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::SecretsManager::RotationSchedule"; | ||
readonly rotationScheduleSecretArn: string; | ||
/** | ||
* Creates a new ``AWS::SecretsManager::RotationSchedule``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``RotationScheduleResource`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``RotationScheduleResource`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: RotationScheduleResourceProps); | ||
readonly propertyOverrides: RotationScheduleResourceProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
namespace RotationScheduleResource { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-rotationrules.html | ||
*/ | ||
interface RotationRulesProperty { | ||
/** | ||
* ``RotationScheduleResource.RotationRulesProperty.AutomaticallyAfterDays`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-rotationrules.html#cfn-secretsmanager-rotationschedule-rotationrules-automaticallyafterdays | ||
*/ | ||
automaticallyAfterDays?: number | cdk.Token; | ||
} | ||
} | ||
} | ||
/** | ||
@@ -205,3 +108,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html | ||
*/ | ||
description?: string | cdk.Token; | ||
description?: string; | ||
/** | ||
@@ -216,3 +119,3 @@ * ``AWS::SecretsManager::Secret.GenerateSecretString`` | ||
*/ | ||
kmsKeyId?: string | cdk.Token; | ||
kmsKeyId?: string; | ||
/** | ||
@@ -222,3 +125,3 @@ * ``AWS::SecretsManager::Secret.Name`` | ||
*/ | ||
name?: string | cdk.Token; | ||
name?: string; | ||
/** | ||
@@ -228,3 +131,3 @@ * ``AWS::SecretsManager::Secret.SecretString`` | ||
*/ | ||
secretString?: string | cdk.Token; | ||
secretString?: string; | ||
/** | ||
@@ -248,7 +151,7 @@ * ``AWS::SecretsManager::Secret.Tags`` | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnSecret`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnSecret`` | ||
* @param scope scope in which this resource is defined | ||
* @param id scoped id of the resource | ||
* @param props resource properties | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties?: CfnSecretProps); | ||
constructor(scope: cdk.Construct, id: string, props?: CfnSecretProps); | ||
readonly propertyOverrides: CfnSecretProps; | ||
@@ -268,3 +171,3 @@ protected renderProperties(properties: any): { | ||
*/ | ||
excludeCharacters?: string | cdk.Token; | ||
excludeCharacters?: string; | ||
/** | ||
@@ -294,3 +197,3 @@ * ``CfnSecret.GenerateSecretStringProperty.ExcludeLowercase`` | ||
*/ | ||
generateStringKey?: string | cdk.Token; | ||
generateStringKey?: string; | ||
/** | ||
@@ -315,122 +218,5 @@ * ``CfnSecret.GenerateSecretStringProperty.IncludeSpace`` | ||
*/ | ||
secretStringTemplate?: string | cdk.Token; | ||
secretStringTemplate?: string; | ||
} | ||
} | ||
export declare namespace cloudformation { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html | ||
*/ | ||
interface SecretResourceProps { | ||
/** | ||
* ``AWS::SecretsManager::Secret.Description`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-description | ||
*/ | ||
description?: string | cdk.Token; | ||
/** | ||
* ``AWS::SecretsManager::Secret.GenerateSecretString`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-generatesecretstring | ||
*/ | ||
generateSecretString?: SecretResource.GenerateSecretStringProperty | cdk.Token; | ||
/** | ||
* ``AWS::SecretsManager::Secret.KmsKeyId`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-kmskeyid | ||
*/ | ||
kmsKeyId?: string | cdk.Token; | ||
/** | ||
* ``AWS::SecretsManager::Secret.Name`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-name | ||
*/ | ||
name?: string | cdk.Token; | ||
/** | ||
* ``AWS::SecretsManager::Secret.SecretString`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-secretstring | ||
*/ | ||
secretString?: string | cdk.Token; | ||
/** | ||
* ``AWS::SecretsManager::Secret.Tags`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-tags | ||
*/ | ||
tags?: Array<cdk.Tag | cdk.Token> | cdk.Token; | ||
} | ||
/** | ||
* @deprecated "cloudformation.SecretResource" will be deprecated in a future release in favor of "CfnSecret" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html | ||
*/ | ||
class SecretResource extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::SecretsManager::Secret"; | ||
readonly secretArn: string; | ||
/** | ||
* Creates a new ``AWS::SecretsManager::Secret``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``SecretResource`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``SecretResource`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties?: SecretResourceProps); | ||
readonly propertyOverrides: SecretResourceProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
namespace SecretResource { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html | ||
*/ | ||
interface GenerateSecretStringProperty { | ||
/** | ||
* ``SecretResource.GenerateSecretStringProperty.ExcludeCharacters`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-excludecharacters | ||
*/ | ||
excludeCharacters?: string | cdk.Token; | ||
/** | ||
* ``SecretResource.GenerateSecretStringProperty.ExcludeLowercase`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-excludelowercase | ||
*/ | ||
excludeLowercase?: boolean | cdk.Token; | ||
/** | ||
* ``SecretResource.GenerateSecretStringProperty.ExcludeNumbers`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-excludenumbers | ||
*/ | ||
excludeNumbers?: boolean | cdk.Token; | ||
/** | ||
* ``SecretResource.GenerateSecretStringProperty.ExcludePunctuation`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-excludepunctuation | ||
*/ | ||
excludePunctuation?: boolean | cdk.Token; | ||
/** | ||
* ``SecretResource.GenerateSecretStringProperty.ExcludeUppercase`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-excludeuppercase | ||
*/ | ||
excludeUppercase?: boolean | cdk.Token; | ||
/** | ||
* ``SecretResource.GenerateSecretStringProperty.GenerateStringKey`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-generatestringkey | ||
*/ | ||
generateStringKey?: string | cdk.Token; | ||
/** | ||
* ``SecretResource.GenerateSecretStringProperty.IncludeSpace`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-includespace | ||
*/ | ||
includeSpace?: boolean | cdk.Token; | ||
/** | ||
* ``SecretResource.GenerateSecretStringProperty.PasswordLength`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-passwordlength | ||
*/ | ||
passwordLength?: number | cdk.Token; | ||
/** | ||
* ``SecretResource.GenerateSecretStringProperty.RequireEachIncludedType`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-requireeachincludedtype | ||
*/ | ||
requireEachIncludedType?: boolean | cdk.Token; | ||
/** | ||
* ``SecretResource.GenerateSecretStringProperty.SecretStringTemplate`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-secretstringtemplate | ||
*/ | ||
secretStringTemplate?: string | cdk.Token; | ||
} | ||
} | ||
} | ||
/** | ||
@@ -444,3 +230,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html | ||
*/ | ||
secretId: string | cdk.Token; | ||
secretId: string; | ||
/** | ||
@@ -450,3 +236,3 @@ * ``AWS::SecretsManager::SecretTargetAttachment.TargetId`` | ||
*/ | ||
targetId: string | cdk.Token; | ||
targetId: string; | ||
/** | ||
@@ -456,3 +242,3 @@ * ``AWS::SecretsManager::SecretTargetAttachment.TargetType`` | ||
*/ | ||
targetType: string | cdk.Token; | ||
targetType: string; | ||
} | ||
@@ -471,7 +257,7 @@ /** | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnSecretTargetAttachment`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnSecretTargetAttachment`` | ||
* @param scope scope in which this resource is defined | ||
* @param id scoped id of the resource | ||
* @param props resource properties | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnSecretTargetAttachmentProps); | ||
constructor(scope: cdk.Construct, id: string, props: CfnSecretTargetAttachmentProps); | ||
readonly propertyOverrides: CfnSecretTargetAttachmentProps; | ||
@@ -482,46 +268,1 @@ protected renderProperties(properties: any): { | ||
} | ||
export declare namespace cloudformation { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html | ||
*/ | ||
interface SecretTargetAttachmentResourceProps { | ||
/** | ||
* ``AWS::SecretsManager::SecretTargetAttachment.SecretId`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html#cfn-secretsmanager-secrettargetattachment-secretid | ||
*/ | ||
secretId: string | cdk.Token; | ||
/** | ||
* ``AWS::SecretsManager::SecretTargetAttachment.TargetId`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html#cfn-secretsmanager-secrettargetattachment-targetid | ||
*/ | ||
targetId: string | cdk.Token; | ||
/** | ||
* ``AWS::SecretsManager::SecretTargetAttachment.TargetType`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html#cfn-secretsmanager-secrettargetattachment-targettype | ||
*/ | ||
targetType: string | cdk.Token; | ||
} | ||
/** | ||
* @deprecated "cloudformation.SecretTargetAttachmentResource" will be deprecated in a future release in favor of "CfnSecretTargetAttachment" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html | ||
*/ | ||
class SecretTargetAttachmentResource extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::SecretsManager::SecretTargetAttachment"; | ||
readonly secretTargetAttachmentSecretArn: string; | ||
/** | ||
* Creates a new ``AWS::SecretsManager::SecretTargetAttachment``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``SecretTargetAttachmentResource`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``SecretTargetAttachmentResource`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: SecretTargetAttachmentResourceProps); | ||
readonly propertyOverrides: SecretTargetAttachmentResourceProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
} |
{ | ||
"name": "@aws-cdk/aws-secretsmanager", | ||
"version": "0.21.0", | ||
"version": "0.22.0", | ||
"description": "The CDK Construct Library for AWS::SecretsManager", | ||
@@ -38,3 +38,5 @@ "main": "lib/index.js", | ||
"test": "cdk-test", | ||
"watch": "cdk-watch" | ||
"watch": "cdk-watch", | ||
"awslint": "cdk-awslint", | ||
"cfn2ts": "cfn2ts" | ||
}, | ||
@@ -57,12 +59,12 @@ "cdk-build": { | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.21.0", | ||
"cdk-build-tools": "^0.21.0", | ||
"cfn2ts": "^0.21.0", | ||
"pkglint": "^0.21.0" | ||
"@aws-cdk/assert": "^0.22.0", | ||
"cdk-build-tools": "^0.22.0", | ||
"cfn2ts": "^0.22.0", | ||
"pkglint": "^0.22.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/cdk": "^0.21.0" | ||
"@aws-cdk/cdk": "^0.22.0" | ||
}, | ||
"peerDependencies": { | ||
"@aws-cdk/cdk": "^0.21.0" | ||
"@aws-cdk/cdk": "^0.22.0" | ||
}, | ||
@@ -69,0 +71,0 @@ "engines": { |
@@ -13,3 +13,3 @@ "use strict"; | ||
// THEN | ||
test.equal(cdk.resolve(ref.value), '{{resolve:secretsmanager:SomeSecret:SecretString:::}}'); | ||
test.equal(ref.node.resolve(ref.value), '{{resolve:secretsmanager:SomeSecret:SecretString:::}}'); | ||
test.done(); | ||
@@ -25,6 +25,6 @@ }, | ||
// THEN | ||
test.equal(cdk.resolve(ref.jsonFieldValue('subkey')), '{{resolve:secretsmanager:SomeSecret:SecretString:subkey::}}'); | ||
test.equal(ref.node.resolve(ref.jsonFieldValue('subkey')), '{{resolve:secretsmanager:SomeSecret:SecretString:subkey::}}'); | ||
test.done(); | ||
}, | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5zZWNyZXQtc3RyaW5nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsidGVzdC5zZWNyZXQtc3RyaW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQ0FBcUM7QUFFckMseUNBQTBDO0FBRTFDLGlCQUFTO0lBQ1AscUNBQXFDLENBQUMsSUFBVTtRQUM5QyxRQUFRO1FBQ1IsTUFBTSxLQUFLLEdBQUcsSUFBSSxHQUFHLENBQUMsS0FBSyxFQUFFLENBQUM7UUFFOUIsT0FBTztRQUNQLE1BQU0sR0FBRyxHQUFHLElBQUksY0FBYyxDQUFDLFlBQVksQ0FBQyxLQUFLLEVBQUUsS0FBSyxFQUFFO1lBQ3hELFFBQVEsRUFBRSxZQUFZO1NBQ3ZCLENBQUMsQ0FBQztRQUVILE9BQU87UUFDUCxJQUFJLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLEtBQUssQ0FBQyxFQUFFLHVEQUF1RCxDQUFDLENBQUM7UUFFNUYsSUFBSSxDQUFDLElBQUksRUFBRSxDQUFDO0lBQ2QsQ0FBQztJQUVELGdEQUFnRCxDQUFDLElBQVU7UUFDekQsUUFBUTtRQUNSLE1BQU0sS0FBSyxHQUFHLElBQUksR0FBRyxDQUFDLEtBQUssRUFBRSxDQUFDO1FBRTlCLE9BQU87UUFDUCxNQUFNLEdBQUcsR0FBRyxJQUFJLGNBQWMsQ0FBQyxZQUFZLENBQUMsS0FBSyxFQUFFLEtBQUssRUFBRTtZQUN4R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8vIFRIRU5cbiAgICB0ZXN0LmVxdWFsKHJlZi5ub2RlLnJlc29sdmUocmVmLnZhbHVlKSwgJ3t7cmVzb2x2ZTpzZWNyZXRzbWFuYWdlcjpTb21lU2VjcmV0OlNlY3JldFN0cmluZzo6On19Jyk7XG5cbiAgICB0ZXN0LmRvbmUoKTtcbiAgfSxcblxuICAnY2FuIHJlZmVyZW5jZSBqc29ua2V5IGluIFNlY3JldHMgTWFuYWdlciBWYWx1ZScodGVzdDogVGVzdCkge1xuICAgIC8vIEdJVkVOXG4gICAgY29uc3Qgc3RhY2sgPSBuZXcgY2RrLlN0YWNrKCk7XG5cbiAgICAvLyBXSEVOXG4gICAgY29uc3QgcmVmID0gbmV3IHNlY3JldHNtYW5hZ2VyLlNlY3JldFN0cmluZyhzdGFjaywgJ1JlZicsIHtcbiAgICAgIHNlY3JldElkOiAnU29tZVNlY3JldCcsXG4gICAgfSk7XG5cbiAgICAvLyBUSEVOXG4gICAgdGVzdC5lcXVhbChyZWYubm9kZS5yZXNvbHZlKHJlZi5qc29uRmllbGRWYWx1ZSgnc3Via2V5JykpLCAne3tyZXNvbHZlOnNlY3JldHNtYW5hZ2VyOlNvbWVTZWNyZXQ6U2VjcmV0U3RyaW5nOnN1YmtleTo6fX0nKTtcblxuICAgIHRlc3QuZG9uZSgpO1xuICB9LFxufTtcbiJdfQ== |
@@ -25,5 +25,20 @@ { | ||
"strictNullChecks": true, | ||
"target": "ES2018" | ||
"target": "ES2018", | ||
"composite": true | ||
}, | ||
"include": [ | ||
"**/*.ts" | ||
], | ||
"exclude": [ | ||
"node_modules" | ||
], | ||
"references": [ | ||
{ | ||
"path": "../cdk" | ||
}, | ||
{ | ||
"path": "../assert" | ||
} | ||
], | ||
"_generated_by_jsii_": "Generated by jsii - safe to delete, and ideally should be in .gitignore" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
141101
795
+ Added@aws-cdk/cdk@0.22.0(transitive)
+ Added@aws-cdk/cx-api@0.22.0(transitive)
- Removed@aws-cdk/cdk@0.21.0(transitive)
- Removed@aws-cdk/cx-api@0.21.0(transitive)
Updated@aws-cdk/cdk@^0.22.0