public static final class AwsCustomResourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AwsCustomResourceProps
AwsCustomResourceProps
AwsCustomResourceProps.Builder, AwsCustomResourceProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getFunctionName()
A name for the singleton Lambda function implementing this custom resource.
|
java.lang.Boolean |
getInstallLatestAwsSdk()
Whether to install the latest AWS SDK v2.
|
RetentionDays |
getLogRetention()
The number of days log events of the singleton Lambda function implementing this custom resource are kept in CloudWatch Logs.
|
AwsSdkCall |
getOnCreate()
The AWS SDK call to make when the resource is created.
|
AwsSdkCall |
getOnDelete()
The AWS SDK call to make when the resource is deleted.
|
AwsSdkCall |
getOnUpdate()
The AWS SDK call to make when the resource is updated.
|
AwsCustomResourcePolicy |
getPolicy()
The policy that will be added to the execution role of the Lambda function implementing this custom resource provider.
|
java.lang.String |
getResourceType()
Cloudformation Resource type.
|
IRole |
getRole()
The execution role for the singleton Lambda function implementing this custom resource provider.
|
Duration |
getTimeout()
The timeout for the singleton Lambda function implementing this custom resource.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final AwsCustomResourcePolicy getPolicy()
AwsCustomResourceProps
The custom resource also implements iam.IGrantable
, making it possible
to use the grantXxx()
methods.
As this custom resource uses a singleton Lambda function, it's important to note the that function's role will eventually accumulate the permissions/grants from all resources.
getPolicy
in interface AwsCustomResourceProps
public final java.lang.String getFunctionName()
AwsCustomResourceProps
The function name will remain the same after the first AwsCustomResource is created in a stack.
Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the function's name. For more information, see Name Type.
getFunctionName
in interface AwsCustomResourceProps
public final java.lang.Boolean getInstallLatestAwsSdk()
AwsCustomResourceProps
The installation takes around 60 seconds.
Default: true
getInstallLatestAwsSdk
in interface AwsCustomResourceProps
public final RetentionDays getLogRetention()
AwsCustomResourceProps
Default: logs.RetentionDays.INFINITE
getLogRetention
in interface AwsCustomResourceProps
public final AwsSdkCall getOnCreate()
AwsCustomResourceProps
Default: - the call when the resource is updated
getOnCreate
in interface AwsCustomResourceProps
public final AwsSdkCall getOnDelete()
AwsCustomResourceProps
Default: - no call
getOnDelete
in interface AwsCustomResourceProps
public final AwsSdkCall getOnUpdate()
AwsCustomResourceProps
Default: - no call
getOnUpdate
in interface AwsCustomResourceProps
public final java.lang.String getResourceType()
AwsCustomResourceProps
Default: - Custom::AWS
getResourceType
in interface AwsCustomResourceProps
public final IRole getRole()
AwsCustomResourceProps
This role will apply to all AwsCustomResource
instances in the stack. The role must be assumable by the
lambda.amazonaws.com
service principal.
Default: - a new role is created
getRole
in interface AwsCustomResourceProps
public final Duration getTimeout()
AwsCustomResourceProps
Default: Duration.minutes(2)
getTimeout
in interface AwsCustomResourceProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()