Skip to content
v2.278.0

IPAMScopeReference Struct ​

A reference to a IPAMScope resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const iPAMScopeReference: interfaces_ec2.IPAMScopeReference = {
  ipamScopeArn: 'ipamScopeArn',
  ipamScopeId: 'ipamScopeId',
};
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_ec2 as interfaces_ec2

i_pam_scope_reference = {
    "ipam_scope_arn": "ipamScopeArn",
    "ipam_scope_id": "ipamScopeId"
}
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.ec2.*;

IPAMScopeReference iPAMScopeReference = Map.of(
        "ipamScopeArn", "ipamScopeArn",
        "ipamScopeId", "ipamScopeId");
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.EC2;

var iPAMScopeReference = new Dictionary<string, string> {
    { "ipamScopeArn", "ipamScopeArn" },
    { "ipamScopeId", "ipamScopeId" }
};
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"

iPAMScopeReference := map[string]*string{
	"ipamScopeArn": jsii.String("ipamScopeArn"),
	"ipamScopeId": jsii.String("ipamScopeId"),
}

Properties ​

ipamScopeArnstringipam_scope_arnstripamScopeArnStringIpamScopeArnstringIpamScopeArn*string required #
The ARN of the IPAMScope resource.
ipamScopeIdstringipam_scope_idstripamScopeIdStringIpamScopeIdstringIpamScopeId*string required #
The IpamScopeId of the IPAMScope resource.