Class CfnIPAMPrefixListResolverTarget

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ec2.CfnIPAMPrefixListResolverTarget
All Implemented Interfaces:
IInspectable, IIPAMPrefixListResolverTargetRef, IEnvironmentAware, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-27T13:11:58.124Z") @Stability(Stable) public class CfnIPAMPrefixListResolverTarget extends CfnResource implements IInspectable, IIPAMPrefixListResolverTargetRef, ITaggableV2
Resource Type definition for AWS::EC2::IPAMPrefixListResolverTarget.

Example:

 // 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.*;
 CfnIPAMPrefixListResolverTarget cfnIPAMPrefixListResolverTarget = CfnIPAMPrefixListResolverTarget.Builder.create(this, "MyCfnIPAMPrefixListResolverTarget")
         .ipamPrefixListResolverId("ipamPrefixListResolverId")
         .prefixListId("prefixListId")
         .prefixListRegion("prefixListRegion")
         .trackLatestVersion(false)
         // the properties below are optional
         .desiredVersion(123)
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnIPAMPrefixListResolverTarget

      protected CfnIPAMPrefixListResolverTarget(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnIPAMPrefixListResolverTarget

      protected CfnIPAMPrefixListResolverTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnIPAMPrefixListResolverTarget

      @Stability(Stable) public CfnIPAMPrefixListResolverTarget(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnIPAMPrefixListResolverTargetProps props)
      Create a new AWS::EC2::IPAMPrefixListResolverTarget.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForIPAMPrefixListResolverTarget

      @Stability(Stable) @NotNull public static String arnForIPAMPrefixListResolverTarget(@NotNull IIPAMPrefixListResolverTargetRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnIPAMPrefixListResolverTarget

      @Stability(Stable) @NotNull public static Boolean isCfnIPAMPrefixListResolverTarget(@NotNull Object x)
      Checks whether the given object is a CfnIPAMPrefixListResolverTarget.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrIpamPrefixListResolverTargetArn

      @Stability(Stable) @NotNull public String getAttrIpamPrefixListResolverTargetArn()
      Id of the IPAM Prefix List Resolver Target.
    • getAttrIpamPrefixListResolverTargetId

      @Stability(Stable) @NotNull public String getAttrIpamPrefixListResolverTargetId()
      Id of the IPAM Prefix List Resolver Target.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getIpamPrefixListResolverTargetRef

      @Stability(Stable) @NotNull public IPAMPrefixListResolverTargetReference getIpamPrefixListResolverTargetRef()
      A reference to a IPAMPrefixListResolverTarget resource.
      Specified by:
      getIpamPrefixListResolverTargetRef in interface IIPAMPrefixListResolverTargetRef
    • getIpamPrefixListResolverId

      @Stability(Stable) @NotNull public String getIpamPrefixListResolverId()
      The Id of the IPAM Prefix List Resolver associated with this Target.
    • setIpamPrefixListResolverId

      @Stability(Stable) public void setIpamPrefixListResolverId(@NotNull String value)
      The Id of the IPAM Prefix List Resolver associated with this Target.
    • getPrefixListId

      @Stability(Stable) @NotNull public String getPrefixListId()
      The Id of the Managed Prefix List.
    • setPrefixListId

      @Stability(Stable) public void setPrefixListId(@NotNull String value)
      The Id of the Managed Prefix List.
    • getPrefixListRegion

      @Stability(Stable) @NotNull public String getPrefixListRegion()
      The region that the Managed Prefix List is located in.
    • setPrefixListRegion

      @Stability(Stable) public void setPrefixListRegion(@NotNull String value)
      The region that the Managed Prefix List is located in.
    • getTrackLatestVersion

      @Stability(Stable) @NotNull public Object getTrackLatestVersion()
      Indicates whether this Target automatically tracks the latest version of the Prefix List Resolver.

      Returns union: either Boolean or IResolvable

    • setTrackLatestVersion

      @Stability(Stable) public void setTrackLatestVersion(@NotNull Boolean value)
      Indicates whether this Target automatically tracks the latest version of the Prefix List Resolver.
    • setTrackLatestVersion

      @Stability(Stable) public void setTrackLatestVersion(@NotNull IResolvable value)
      Indicates whether this Target automatically tracks the latest version of the Prefix List Resolver.
    • getDesiredVersion

      @Stability(Stable) @Nullable public Number getDesiredVersion()
      The desired version of the Prefix List Resolver that this Target should synchronize with.
    • setDesiredVersion

      @Stability(Stable) public void setDesiredVersion(@Nullable Number value)
      The desired version of the Prefix List Resolver that this Target should synchronize with.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An array of key-value pairs to apply to this resource.