CfnRunCacheProps Struct
Properties for defining a CfnRunCache.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_omics as omics } from 'aws-cdk-lib';
const cfnRunCacheProps: omics.CfnRunCacheProps = {
cacheBehavior: 'cacheBehavior',
cacheBucketOwnerId: 'cacheBucketOwnerId',
cacheS3Location: 'cacheS3Location',
description: 'description',
name: 'name',
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_omics as omics
cfn_run_cache_props = omics.CfnRunCacheProps(
cache_behavior="cacheBehavior",
cache_bucket_owner_id="cacheBucketOwnerId",
cache_s3_location="cacheS3Location",
description="description",
name="name",
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.omics.*;
CfnRunCacheProps cfnRunCacheProps = CfnRunCacheProps.builder()
.cacheBehavior("cacheBehavior")
.cacheBucketOwnerId("cacheBucketOwnerId")
.cacheS3Location("cacheS3Location")
.description("description")
.name("name")
.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.Omics;
var cfnRunCacheProps = new CfnRunCacheProps {
CacheBehavior = "cacheBehavior",
CacheBucketOwnerId = "cacheBucketOwnerId",
CacheS3Location = "cacheS3Location",
Description = "description",
Name = "name",
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"
cfnRunCacheProps := &CfnRunCacheProps{
CacheBehavior: jsii.String("cacheBehavior"),
CacheBucketOwnerId: jsii.String("cacheBucketOwnerId"),
CacheS3Location: jsii.String("cacheS3Location"),
Description: jsii.String("description"),
Name: jsii.String("name"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
cacheBehavioroptionalstringcache_behavioroptionalstrcacheBehavioroptionalStringCacheBehavioroptionalstringCacheBehavioroptional*string #The default cache behavior for runs using this cache.
cacheBucketOwnerIdoptionalstringcache_bucket_owner_idoptionalstrcacheBucketOwnerIdoptionalStringCacheBucketOwnerIdoptionalstringCacheBucketOwnerIdoptional*string #The AWS account ID of the expected owner of the S3 bucket for the run cache.
cacheS3Locationoptionalstringcache_s3_locationoptionalstrcacheS3LocationoptionalStringCacheS3LocationoptionalstringCacheS3Locationoptional*string #The S3 location for storing the cached task outputs.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A description of the run cache.
A name for the run cache.