| Package | Description |
|---|---|
| software.amazon.awscdk.customresources |
AWS CDK Custom Resources
|
| Modifier and Type | Method and Description |
|---|---|
static AwsCustomResource.Builder |
AwsCustomResource.Builder.create(software.constructs.Construct scope,
String id) |
AwsCustomResource.Builder |
AwsCustomResource.Builder.functionName(String functionName)
A name for the singleton Lambda function implementing this custom resource.
|
AwsCustomResource.Builder |
AwsCustomResource.Builder.installLatestAwsSdk(Boolean installLatestAwsSdk)
Whether to install the latest AWS SDK v2.
|
AwsCustomResource.Builder |
AwsCustomResource.Builder.logRetention(RetentionDays logRetention)
The number of days log events of the singleton Lambda function implementing this custom resource are kept in CloudWatch Logs.
|
AwsCustomResource.Builder |
AwsCustomResource.Builder.onCreate(AwsSdkCall onCreate)
The AWS SDK call to make when the resource is created.
|
AwsCustomResource.Builder |
AwsCustomResource.Builder.onDelete(AwsSdkCall onDelete)
The AWS SDK call to make when the resource is deleted.
|
AwsCustomResource.Builder |
AwsCustomResource.Builder.onUpdate(AwsSdkCall onUpdate)
The AWS SDK call to make when the resource is updated.
|
AwsCustomResource.Builder |
AwsCustomResource.Builder.policy(AwsCustomResourcePolicy policy)
The policy that will be added to the execution role of the Lambda function implementing this custom resource provider.
|
AwsCustomResource.Builder |
AwsCustomResource.Builder.resourceType(String resourceType)
Cloudformation Resource type.
|
AwsCustomResource.Builder |
AwsCustomResource.Builder.role(IRole role)
The execution role for the singleton Lambda function implementing this custom resource provider.
|
AwsCustomResource.Builder |
AwsCustomResource.Builder.timeout(Duration timeout)
The timeout for the singleton Lambda function implementing this custom resource.
|
AwsCustomResource.Builder |
AwsCustomResource.Builder.vpc(IVpc vpc)
The vpc to provision the lambda function in.
|
AwsCustomResource.Builder |
AwsCustomResource.Builder.vpcSubnets(SubnetSelection vpcSubnets)
Which subnets from the VPC to place the lambda function in.
|
Copyright © 2022. All rights reserved.