ElasticIpProperty Struct
| 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_opsworks as opsworks } from 'aws-cdk-lib';
const elasticIpProperty: opsworks.CfnStack.ElasticIpProperty = {
ip: 'ip',
// the properties below are optional
name: 'name',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_opsworks as opsworks
elastic_ip_property = opsworks.CfnStack.ElasticIpProperty(
ip="ip",
# the properties below are optional
name="name"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.opsworks.*;
ElasticIpProperty elasticIpProperty = ElasticIpProperty.builder()
.ip("ip")
// the properties below are optional
.name("name")
.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.AWS.OpsWorks;
var elasticIpProperty = new ElasticIpProperty {
Ip = "ip",
// the properties below are optional
Name = "name"
};
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"
elasticIpProperty := &ElasticIpProperty{
Ip: jsii.String("ip"),
// the properties below are optional
Name: jsii.String("name"),
}