1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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"),
},
}
);
}
respondido há 2 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há 2 anos