1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
used AwsCustomResource at the end of my CF stack
example code for secretManager Service
const apiKeysRotationTrigger = new AwsCustomResource(
this,
"ident",
{
policy: AwsCustomResourcePolicy.fromSdkCalls({
resources: AwsCustomResourcePolicy.ANY_RESOURCE,
}),
onCreate: {
service: "SecretsManager",
action: "rotateSecret",
parameters: {
SecretId: "SecretId",
},
physicalResourceId: PhysicalResourceId.of("PhysicalResourceId"),
},
onUpdate: {
service: "SecretsManager",
action: "rotateSecret",
parameters: {
SecretId: "SecretId",
},
physicalResourceId: PhysicalResourceId.of("PhysicalResourceId"),
},
}
);
}
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- Réponse acceptéedemandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans