Class CfnPullTimeUpdateExclusion

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IPullTimeUpdateExclusionRef, IEnvironmentAware, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-12-01T16:02:19.646Z") @Stability(Stable) public class CfnPullTimeUpdateExclusion extends CfnResource implements IInspectable, IPullTimeUpdateExclusionRef
Resource Type definition for AWS::ECR::PullTimeUpdateExclusion controls the exclusion configuration for ecr image pull time update.

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.ecr.*;
 CfnPullTimeUpdateExclusion cfnPullTimeUpdateExclusion = CfnPullTimeUpdateExclusion.Builder.create(this, "MyCfnPullTimeUpdateExclusion")
         .principalArn("principalArn")
         .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

    • CfnPullTimeUpdateExclusion

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

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

      @Stability(Stable) public CfnPullTimeUpdateExclusion(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnPullTimeUpdateExclusionProps props)
      Create a new AWS::ECR::PullTimeUpdateExclusion.

      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

    • isCfnPullTimeUpdateExclusion

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

      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.
    • getCfnProperties

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

      @Stability(Stable) @NotNull public PullTimeUpdateExclusionReference getPullTimeUpdateExclusionRef()
      A reference to a PullTimeUpdateExclusion resource.
      Specified by:
      getPullTimeUpdateExclusionRef in interface IPullTimeUpdateExclusionRef
    • getPrincipalArn

      @Stability(Stable) @NotNull public String getPrincipalArn()
      The ARN of the IAM principal to remove from the pull time update exclusion list.
    • setPrincipalArn

      @Stability(Stable) public void setPrincipalArn(@NotNull String value)
      The ARN of the IAM principal to remove from the pull time update exclusion list.