LifecyclePolicyReference Struct
A reference to a LifecyclePolicy resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as interfaces_imagebuilder } from 'aws-cdk-lib/interfaces';
const lifecyclePolicyReference: interfaces_imagebuilder.LifecyclePolicyReference = {
lifecyclePolicyArn: 'lifecyclePolicyArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_imagebuilder as interfaces_imagebuilder
lifecycle_policy_reference = interfaces_imagebuilder.LifecyclePolicyReference(
lifecycle_policy_arn="lifecyclePolicyArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.imagebuilder.*;
LifecyclePolicyReference lifecyclePolicyReference = LifecyclePolicyReference.builder()
.lifecyclePolicyArn("lifecyclePolicyArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.ImageBuilder;
var lifecyclePolicyReference = new LifecyclePolicyReference {
LifecyclePolicyArn = "lifecyclePolicyArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
lifecyclePolicyReference := &LifecyclePolicyReference{
LifecyclePolicyArn: jsii.String("lifecyclePolicyArn"),
}
Properties
lifecyclePolicyArnstringlifecycle_policy_arnstrlifecyclePolicyArnStringLifecyclePolicyArnstringLifecyclePolicyArn*string required #The Arn of the LifecyclePolicy resource.