Class CfnRunCache

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

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:14.588Z") @Stability(Stable) public class CfnRunCache extends CfnResource implements IInspectable, IRunCacheRef, ITaggableV2
Definition of AWS::Omics::RunCache Resource Type.

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.omics.*;
 CfnRunCache cfnRunCache = CfnRunCache.Builder.create(this, "MyCfnRunCache")
         .cacheBehavior("cacheBehavior")
         .cacheBucketOwnerId("cacheBucketOwnerId")
         .cacheS3Location("cacheS3Location")
         .description("description")
         .name("name")
         .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

    • CfnRunCache

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

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

      @Stability(Stable) public CfnRunCache(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnRunCacheProps props)
      Create a new AWS::Omics::RunCache.

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

      @Stability(Stable) public CfnRunCache(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::Omics::RunCache.

      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.
  • Method Details

    • arnForRunCache

      @Stability(Stable) @NotNull public static String arnForRunCache(@NotNull IRunCacheRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnRunCache

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

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

      @Stability(Stable) @NotNull public String getAttrArn()
      The run cache ARN.
    • getAttrCreationTime

      @Stability(Stable) @NotNull public String getAttrCreationTime()
      Creation time of the run cache (an ISO 8601 formatted string).
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The run cache ID.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The run cache status.
    • 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
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getRunCacheRef

      @Stability(Stable) @NotNull public RunCacheReference getRunCacheRef()
      A reference to a RunCache resource.
      Specified by:
      getRunCacheRef in interface IRunCacheRef
    • getCacheBehavior

      @Stability(Stable) @Nullable public String getCacheBehavior()
      The default cache behavior for runs using this cache.
    • setCacheBehavior

      @Stability(Stable) public void setCacheBehavior(@Nullable String value)
      The default cache behavior for runs using this cache.
    • getCacheBucketOwnerId

      @Stability(Stable) @Nullable public String getCacheBucketOwnerId()
      The AWS account ID of the expected owner of the S3 bucket for the run cache.
    • setCacheBucketOwnerId

      @Stability(Stable) public void setCacheBucketOwnerId(@Nullable String value)
      The AWS account ID of the expected owner of the S3 bucket for the run cache.
    • getCacheS3Location

      @Stability(Stable) @Nullable public String getCacheS3Location()
      The S3 location for storing the cached task outputs.
    • setCacheS3Location

      @Stability(Stable) public void setCacheS3Location(@Nullable String value)
      The S3 location for storing the cached task outputs.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      A description of the run cache.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      A description of the run cache.
    • getName

      @Stability(Stable) @Nullable public String getName()
      A name for the run cache.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      A name for the run cache.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      Tags for the run cache.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      Tags for the run cache.