Skip to content
v2.278.0

CfnIPAMScopeProps Struct ​

Properties for defining a CfnIPAMScope.

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 ec2 } from 'aws-cdk-lib';
const cfnIPAMScopeProps: ec2.CfnIPAMScopeProps = {
  ipamId: 'ipamId',

  // the properties below are optional
  description: 'description',
  externalAuthorityConfiguration: {
    externalResourceIdentifier: 'externalResourceIdentifier',
    ipamScopeExternalAuthorityType: 'ipamScopeExternalAuthorityType',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

cfn_ipam_scope_props = ec2.CfnIPAMScopeProps(
    ipam_id="ipamId",

    # the properties below are optional
    description="description",
    external_authority_configuration=ec2.CfnIPAMScope.IpamScopeExternalAuthorityConfigurationProperty(
        external_resource_identifier="externalResourceIdentifier",
        ipam_scope_external_authority_type="ipamScopeExternalAuthorityType"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.ec2.*;

CfnIPAMScopeProps cfnIPAMScopeProps = CfnIPAMScopeProps.builder()
        .ipamId("ipamId")

        // the properties below are optional
        .description("description")
        .externalAuthorityConfiguration(IpamScopeExternalAuthorityConfigurationProperty.builder()
                .externalResourceIdentifier("externalResourceIdentifier")
                .ipamScopeExternalAuthorityType("ipamScopeExternalAuthorityType")
                .build())
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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.EC2;

var cfnIPAMScopeProps = new CfnIPAMScopeProps {
    IpamId = "ipamId",

    // the properties below are optional
    Description = "description",
    ExternalAuthorityConfiguration = new IpamScopeExternalAuthorityConfigurationProperty {
        ExternalResourceIdentifier = "externalResourceIdentifier",
        IpamScopeExternalAuthorityType = "ipamScopeExternalAuthorityType"
    },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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"

cfnIPAMScopeProps := &CfnIPAMScopeProps{
	IpamId: jsii.String("ipamId"),

	// the properties below are optional
	Description: jsii.String("description"),
	ExternalAuthorityConfiguration: &IpamScopeExternalAuthorityConfigurationProperty{
		ExternalResourceIdentifier: jsii.String("externalResourceIdentifier"),
		IpamScopeExternalAuthorityType: jsii.String("ipamScopeExternalAuthorityType"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The description of the scope.
externalAuthorityConfigurationoptionalIResolvable | CfnIPAMScope.IpamScopeExternalAuthorityConfigurationPropertyexternal_authority_configurationoptionaltyping.Union[IResolvable, IpamScopeExternalAuthorityConfigurationProperty]externalAuthorityConfigurationoptionalIResolvableExternalAuthorityConfigurationoptionalIResolvableExternalAuthorityConfigurationoptionalinterface{} #
The configuration that links an Amazon VPC IPAM scope to an external authority system.
notes

It specifies the type of external system and the external resource identifier that identifies your account or instance in that system.

For more information, see Integrate VPC IPAM with Infoblox infrastructure in the Amazon VPC IPAM User Guide .

ipamIdstringipam_idstripamIdStringIpamIdstringIpamId*string required #
The ID of the IPAM for which you're creating this scope.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The key/value combination of a tag assigned to the resource.
notes

Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA , specify tag:Owner for the filter name and TeamA for the filter value.