1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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 hace 2 años
Contenido relevante
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 3 años