aws-cdk-lib.CfnCustomResourceProps

interface CfnCustomResourceProps

LanguageType name
.NETAmazon.CDK.CfnCustomResourceProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2#CfnCustomResourceProps
Javasoftware.amazon.awscdk.CfnCustomResourceProps
Pythonaws_cdk.CfnCustomResourceProps
TypeScript aws-cdk-lib » CfnCustomResourceProps

Properties for defining a CfnCustomResource.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnCustomResourceProps: cdk.CfnCustomResourceProps = {
  serviceToken: 'serviceToken',
};

Properties

NameTypeDescription
serviceTokenstring> Only one property is defined by AWS for a custom resource: ServiceToken .

serviceToken

Type: string

Only one property is defined by AWS for a custom resource: ServiceToken .

All other properties are defined by the service provider.

The service token that was given to the template developer by the service provider to access the service, such as an Amazon SNS topic ARN or Lambda function ARN. The service token must be from the same Region in which you are creating the stack.

Updates aren't supported.