CustomResourceProvider

class aws_cdk.aws_cloudformation.CustomResourceProvider

Bases: object

Represents a provider for an AWS CloudFormation custom resources.

stability :stability: deprecated

Methods

bind(_)

Called when this provider is used by a CustomResource.

Parameters

_

stability :stability: deprecated

Return type

CustomResourceProviderConfig

Attributes

service_token

the ServiceToken which contains the ARN for this provider.

stability :stability: deprecated

Return type

str

Static Methods

classmethod from_lambda(handler)

The Lambda provider that implements this custom resource.

We recommend using a lambda.SingletonFunction for this.

Parameters

handler (IFunction) –

stability :stability: deprecated

Return type

CustomResourceProvider

classmethod from_topic(topic)

The SNS Topic for the provider that implements this custom resource.

Parameters

topic (ITopic) –

stability :stability: deprecated

Return type

CustomResourceProvider

classmethod lambda_(handler)

Use AWS Lambda as a provider.

Parameters

handler (IFunction) –

deprecated :deprecated: use fromLambda

stability :stability: deprecated

Return type

CustomResourceProvider

classmethod topic(topic)

Use an SNS topic as the provider.

Parameters

topic (ITopic) –

deprecated :deprecated: use fromTopic

stability :stability: deprecated

Return type

CustomResourceProvider