Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(parent: cdk.Construct, id: string, props: CustomActionRegistrationProps) {
super(parent, id);
new codepipeline.CfnCustomActionType(this, 'Resource', {
category: props.category,
inputArtifactDetails: {
minimumCount: props.artifactBounds.minInputs,
maximumCount: props.artifactBounds.maxInputs,
},
outputArtifactDetails: {
minimumCount: props.artifactBounds.minOutputs,
maximumCount: props.artifactBounds.maxOutputs,
},
provider: props.provider,
version: props.version || '1',
settings: {
entityUrlTemplate: props.entityUrl,
executionUrlTemplate: props.executionUrl,
},
configurationProperties: props.actionProperties === undefined ? undefined : props.actionProperties.map((ap) => { return {