Class CfnIPAM.Builder

java.lang.Object
software.amazon.awscdk.services.ec2.CfnIPAM.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAM>
Enclosing class:
CfnIPAM

@Stability(Stable) public static final class CfnIPAM.Builder extends Object implements software.amazon.jsii.Builder<CfnIPAM>
A fluent builder for CfnIPAM.
  • Method Details

    • create

      @Stability(Stable) public static CfnIPAM.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnIPAM.Builder.
    • defaultResourceDiscoveryAssociationId

      @Stability(Stable) public CfnIPAM.Builder defaultResourceDiscoveryAssociationId(String defaultResourceDiscoveryAssociationId)
      The IPAM's default resource discovery association ID.

      Parameters:
      defaultResourceDiscoveryAssociationId - The IPAM's default resource discovery association ID. This parameter is required.
      Returns:
      this
    • defaultResourceDiscoveryId

      @Stability(Stable) public CfnIPAM.Builder defaultResourceDiscoveryId(String defaultResourceDiscoveryId)
      The IPAM's default resource discovery ID.

      Parameters:
      defaultResourceDiscoveryId - The IPAM's default resource discovery ID. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnIPAM.Builder description(String description)
      The description for the IPAM.

      Parameters:
      description - The description for the IPAM. This parameter is required.
      Returns:
      this
    • operatingRegions

      @Stability(Stable) public CfnIPAM.Builder operatingRegions(IResolvable operatingRegions)
      The operating Regions for an IPAM.

      Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions.

      For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide .

      Parameters:
      operatingRegions - The operating Regions for an IPAM. This parameter is required.
      Returns:
      this
    • operatingRegions

      @Stability(Stable) public CfnIPAM.Builder operatingRegions(List<? extends Object> operatingRegions)
      The operating Regions for an IPAM.

      Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions.

      For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide .

      Parameters:
      operatingRegions - The operating Regions for an IPAM. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnIPAM.Builder tags(List<? extends CfnTag> tags)
      The key/value combination of a tag assigned to the resource.

      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.

      Parameters:
      tags - The key/value combination of a tag assigned to the resource. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnIPAM build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnIPAM>
      Returns:
      a newly built instance of CfnIPAM.