aws.dataexchange.RevisionAssets
Explore with Pulumi AI
Resource for managing AWS Data Exchange Revision Assets.
Note: This resource creates a new revision and adds associated assets. Destroying this resource will delete the revision and all associated assets.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.dataexchange.RevisionAssets("example", {
dataSetId: "example-data-set-id",
assets: [{
createS3DataAccessFromS3Bucket: {
assetSource: {
bucket: "example-bucket",
},
},
}],
tags: {
Environment: "Production",
},
});
import pulumi
import pulumi_aws as aws
example = aws.dataexchange.RevisionAssets("example",
data_set_id="example-data-set-id",
assets=[{
"create_s3_data_access_from_s3_bucket": {
"asset_source": {
"bucket": "example-bucket",
},
},
}],
tags={
"Environment": "Production",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dataexchange"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dataexchange.NewRevisionAssets(ctx, "example", &dataexchange.RevisionAssetsArgs{
DataSetId: pulumi.String("example-data-set-id"),
Assets: dataexchange.RevisionAssetsAssetArray{
&dataexchange.RevisionAssetsAssetArgs{
CreateS3DataAccessFromS3Bucket: &dataexchange.RevisionAssetsAssetCreateS3DataAccessFromS3BucketArgs{
AssetSource: &dataexchange.RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSourceArgs{
Bucket: pulumi.String("example-bucket"),
},
},
},
},
Tags: pulumi.StringMap{
"Environment": pulumi.String("Production"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.DataExchange.RevisionAssets("example", new()
{
DataSetId = "example-data-set-id",
Assets = new[]
{
new Aws.DataExchange.Inputs.RevisionAssetsAssetArgs
{
CreateS3DataAccessFromS3Bucket = new Aws.DataExchange.Inputs.RevisionAssetsAssetCreateS3DataAccessFromS3BucketArgs
{
AssetSource = new Aws.DataExchange.Inputs.RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSourceArgs
{
Bucket = "example-bucket",
},
},
},
},
Tags =
{
{ "Environment", "Production" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.dataexchange.RevisionAssets;
import com.pulumi.aws.dataexchange.RevisionAssetsArgs;
import com.pulumi.aws.dataexchange.inputs.RevisionAssetsAssetArgs;
import com.pulumi.aws.dataexchange.inputs.RevisionAssetsAssetCreateS3DataAccessFromS3BucketArgs;
import com.pulumi.aws.dataexchange.inputs.RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSourceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new RevisionAssets("example", RevisionAssetsArgs.builder()
.dataSetId("example-data-set-id")
.assets(RevisionAssetsAssetArgs.builder()
.createS3DataAccessFromS3Bucket(RevisionAssetsAssetCreateS3DataAccessFromS3BucketArgs.builder()
.assetSource(RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSourceArgs.builder()
.bucket("example-bucket")
.build())
.build())
.build())
.tags(Map.of("Environment", "Production"))
.build());
}
}
resources:
example:
type: aws:dataexchange:RevisionAssets
properties:
dataSetId: example-data-set-id
assets:
- createS3DataAccessFromS3Bucket:
assetSource:
bucket: example-bucket
tags:
Environment: Production
Create RevisionAssets Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RevisionAssets(name: string, args: RevisionAssetsArgs, opts?: CustomResourceOptions);
@overload
def RevisionAssets(resource_name: str,
args: RevisionAssetsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RevisionAssets(resource_name: str,
opts: Optional[ResourceOptions] = None,
data_set_id: Optional[str] = None,
assets: Optional[Sequence[RevisionAssetsAssetArgs]] = None,
comment: Optional[str] = None,
finalized: Optional[bool] = None,
force_destroy: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[RevisionAssetsTimeoutsArgs] = None)
func NewRevisionAssets(ctx *Context, name string, args RevisionAssetsArgs, opts ...ResourceOption) (*RevisionAssets, error)
public RevisionAssets(string name, RevisionAssetsArgs args, CustomResourceOptions? opts = null)
public RevisionAssets(String name, RevisionAssetsArgs args)
public RevisionAssets(String name, RevisionAssetsArgs args, CustomResourceOptions options)
type: aws:dataexchange:RevisionAssets
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RevisionAssetsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RevisionAssetsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RevisionAssetsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RevisionAssetsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RevisionAssetsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var revisionAssetsResource = new Aws.DataExchange.RevisionAssets("revisionAssetsResource", new()
{
DataSetId = "string",
Assets = new[]
{
new Aws.DataExchange.Inputs.RevisionAssetsAssetArgs
{
Arn = "string",
CreateS3DataAccessFromS3Bucket = new Aws.DataExchange.Inputs.RevisionAssetsAssetCreateS3DataAccessFromS3BucketArgs
{
AccessPointAlias = "string",
AccessPointArn = "string",
AssetSource = new Aws.DataExchange.Inputs.RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSourceArgs
{
Bucket = "string",
KeyPrefixes = new[]
{
"string",
},
Keys = new[]
{
"string",
},
KmsKeysToGrants = new[]
{
new Aws.DataExchange.Inputs.RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSourceKmsKeysToGrantArgs
{
KmsKeyArn = "string",
},
},
},
},
CreatedAt = "string",
Id = "string",
ImportAssetsFromS3 = new Aws.DataExchange.Inputs.RevisionAssetsAssetImportAssetsFromS3Args
{
AssetSource = new Aws.DataExchange.Inputs.RevisionAssetsAssetImportAssetsFromS3AssetSourceArgs
{
Bucket = "string",
Key = "string",
},
},
ImportAssetsFromSignedUrl = new Aws.DataExchange.Inputs.RevisionAssetsAssetImportAssetsFromSignedUrlArgs
{
Filename = "string",
},
Name = "string",
UpdatedAt = "string",
},
},
Comment = "string",
Finalized = false,
ForceDestroy = false,
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.DataExchange.Inputs.RevisionAssetsTimeoutsArgs
{
Create = "string",
},
});
example, err := dataexchange.NewRevisionAssets(ctx, "revisionAssetsResource", &dataexchange.RevisionAssetsArgs{
DataSetId: pulumi.String("string"),
Assets: dataexchange.RevisionAssetsAssetArray{
&dataexchange.RevisionAssetsAssetArgs{
Arn: pulumi.String("string"),
CreateS3DataAccessFromS3Bucket: &dataexchange.RevisionAssetsAssetCreateS3DataAccessFromS3BucketArgs{
AccessPointAlias: pulumi.String("string"),
AccessPointArn: pulumi.String("string"),
AssetSource: &dataexchange.RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSourceArgs{
Bucket: pulumi.String("string"),
KeyPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
Keys: pulumi.StringArray{
pulumi.String("string"),
},
KmsKeysToGrants: dataexchange.RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSourceKmsKeysToGrantArray{
&dataexchange.RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSourceKmsKeysToGrantArgs{
KmsKeyArn: pulumi.String("string"),
},
},
},
},
CreatedAt: pulumi.String("string"),
Id: pulumi.String("string"),
ImportAssetsFromS3: &dataexchange.RevisionAssetsAssetImportAssetsFromS3Args{
AssetSource: &dataexchange.RevisionAssetsAssetImportAssetsFromS3AssetSourceArgs{
Bucket: pulumi.String("string"),
Key: pulumi.String("string"),
},
},
ImportAssetsFromSignedUrl: &dataexchange.RevisionAssetsAssetImportAssetsFromSignedUrlArgs{
Filename: pulumi.String("string"),
},
Name: pulumi.String("string"),
UpdatedAt: pulumi.String("string"),
},
},
Comment: pulumi.String("string"),
Finalized: pulumi.Bool(false),
ForceDestroy: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &dataexchange.RevisionAssetsTimeoutsArgs{
Create: pulumi.String("string"),
},
})
var revisionAssetsResource = new RevisionAssets("revisionAssetsResource", RevisionAssetsArgs.builder()
.dataSetId("string")
.assets(RevisionAssetsAssetArgs.builder()
.arn("string")
.createS3DataAccessFromS3Bucket(RevisionAssetsAssetCreateS3DataAccessFromS3BucketArgs.builder()
.accessPointAlias("string")
.accessPointArn("string")
.assetSource(RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSourceArgs.builder()
.bucket("string")
.keyPrefixes("string")
.keys("string")
.kmsKeysToGrants(RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSourceKmsKeysToGrantArgs.builder()
.kmsKeyArn("string")
.build())
.build())
.build())
.createdAt("string")
.id("string")
.importAssetsFromS3(RevisionAssetsAssetImportAssetsFromS3Args.builder()
.assetSource(RevisionAssetsAssetImportAssetsFromS3AssetSourceArgs.builder()
.bucket("string")
.key("string")
.build())
.build())
.importAssetsFromSignedUrl(RevisionAssetsAssetImportAssetsFromSignedUrlArgs.builder()
.filename("string")
.build())
.name("string")
.updatedAt("string")
.build())
.comment("string")
.finalized(false)
.forceDestroy(false)
.tags(Map.of("string", "string"))
.timeouts(RevisionAssetsTimeoutsArgs.builder()
.create("string")
.build())
.build());
revision_assets_resource = aws.dataexchange.RevisionAssets("revisionAssetsResource",
data_set_id="string",
assets=[{
"arn": "string",
"create_s3_data_access_from_s3_bucket": {
"access_point_alias": "string",
"access_point_arn": "string",
"asset_source": {
"bucket": "string",
"key_prefixes": ["string"],
"keys": ["string"],
"kms_keys_to_grants": [{
"kms_key_arn": "string",
}],
},
},
"created_at": "string",
"id": "string",
"import_assets_from_s3": {
"asset_source": {
"bucket": "string",
"key": "string",
},
},
"import_assets_from_signed_url": {
"filename": "string",
},
"name": "string",
"updated_at": "string",
}],
comment="string",
finalized=False,
force_destroy=False,
tags={
"string": "string",
},
timeouts={
"create": "string",
})
const revisionAssetsResource = new aws.dataexchange.RevisionAssets("revisionAssetsResource", {
dataSetId: "string",
assets: [{
arn: "string",
createS3DataAccessFromS3Bucket: {
accessPointAlias: "string",
accessPointArn: "string",
assetSource: {
bucket: "string",
keyPrefixes: ["string"],
keys: ["string"],
kmsKeysToGrants: [{
kmsKeyArn: "string",
}],
},
},
createdAt: "string",
id: "string",
importAssetsFromS3: {
assetSource: {
bucket: "string",
key: "string",
},
},
importAssetsFromSignedUrl: {
filename: "string",
},
name: "string",
updatedAt: "string",
}],
comment: "string",
finalized: false,
forceDestroy: false,
tags: {
string: "string",
},
timeouts: {
create: "string",
},
});
type: aws:dataexchange:RevisionAssets
properties:
assets:
- arn: string
createS3DataAccessFromS3Bucket:
accessPointAlias: string
accessPointArn: string
assetSource:
bucket: string
keyPrefixes:
- string
keys:
- string
kmsKeysToGrants:
- kmsKeyArn: string
createdAt: string
id: string
importAssetsFromS3:
assetSource:
bucket: string
key: string
importAssetsFromSignedUrl:
filename: string
name: string
updatedAt: string
comment: string
dataSetId: string
finalized: false
forceDestroy: false
tags:
string: string
timeouts:
create: string
RevisionAssets Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RevisionAssets resource accepts the following input properties:
- Data
Set stringId - Unique identifier for the data set associated with the revision.
- Assets
List<Revision
Assets Asset> A block to define the asset associated with the revision. See Asset for more details.
The following arguments are optional:
- Comment string
- A comment for the revision. Maximum length is 16,348 characters.
- Finalized bool
- Force
Destroy bool - Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Revision
Assets Timeouts
- Data
Set stringId - Unique identifier for the data set associated with the revision.
- Assets
[]Revision
Assets Asset Args A block to define the asset associated with the revision. See Asset for more details.
The following arguments are optional:
- Comment string
- A comment for the revision. Maximum length is 16,348 characters.
- Finalized bool
- Force
Destroy bool - map[string]string
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Revision
Assets Timeouts Args
- data
Set StringId - Unique identifier for the data set associated with the revision.
- assets
List<Revision
Assets Asset> A block to define the asset associated with the revision. See Asset for more details.
The following arguments are optional:
- comment String
- A comment for the revision. Maximum length is 16,348 characters.
- finalized Boolean
- force
Destroy Boolean - Map<String,String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Revision
Assets Timeouts
- data
Set stringId - Unique identifier for the data set associated with the revision.
- assets
Revision
Assets Asset[] A block to define the asset associated with the revision. See Asset for more details.
The following arguments are optional:
- comment string
- A comment for the revision. Maximum length is 16,348 characters.
- finalized boolean
- force
Destroy boolean - {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Revision
Assets Timeouts
- data_
set_ strid - Unique identifier for the data set associated with the revision.
- assets
Sequence[Revision
Assets Asset Args] A block to define the asset associated with the revision. See Asset for more details.
The following arguments are optional:
- comment str
- A comment for the revision. Maximum length is 16,348 characters.
- finalized bool
- force_
destroy bool - Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Revision
Assets Timeouts Args
- data
Set StringId - Unique identifier for the data set associated with the revision.
- assets List<Property Map>
A block to define the asset associated with the revision. See Asset for more details.
The following arguments are optional:
- comment String
- A comment for the revision. Maximum length is 16,348 characters.
- finalized Boolean
- force
Destroy Boolean - Map<String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the RevisionAssets resource produces the following output properties:
- Arn string
- The ARN of the Data Exchange Revision Assets.
- Created
At string - The timestamp when the revision was created, in RFC3339 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Updated
At string - The timestamp when the revision was last updated, in RFC3339 format.
- Arn string
- The ARN of the Data Exchange Revision Assets.
- Created
At string - The timestamp when the revision was created, in RFC3339 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Updated
At string - The timestamp when the revision was last updated, in RFC3339 format.
- arn String
- The ARN of the Data Exchange Revision Assets.
- created
At String - The timestamp when the revision was created, in RFC3339 format.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - updated
At String - The timestamp when the revision was last updated, in RFC3339 format.
- arn string
- The ARN of the Data Exchange Revision Assets.
- created
At string - The timestamp when the revision was created, in RFC3339 format.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - updated
At string - The timestamp when the revision was last updated, in RFC3339 format.
- arn str
- The ARN of the Data Exchange Revision Assets.
- created_
at str - The timestamp when the revision was created, in RFC3339 format.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - updated_
at str - The timestamp when the revision was last updated, in RFC3339 format.
- arn String
- The ARN of the Data Exchange Revision Assets.
- created
At String - The timestamp when the revision was created, in RFC3339 format.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - updated
At String - The timestamp when the revision was last updated, in RFC3339 format.
Look up Existing RevisionAssets Resource
Get an existing RevisionAssets resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RevisionAssetsState, opts?: CustomResourceOptions): RevisionAssets
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
assets: Optional[Sequence[RevisionAssetsAssetArgs]] = None,
comment: Optional[str] = None,
created_at: Optional[str] = None,
data_set_id: Optional[str] = None,
finalized: Optional[bool] = None,
force_destroy: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[RevisionAssetsTimeoutsArgs] = None,
updated_at: Optional[str] = None) -> RevisionAssets
func GetRevisionAssets(ctx *Context, name string, id IDInput, state *RevisionAssetsState, opts ...ResourceOption) (*RevisionAssets, error)
public static RevisionAssets Get(string name, Input<string> id, RevisionAssetsState? state, CustomResourceOptions? opts = null)
public static RevisionAssets get(String name, Output<String> id, RevisionAssetsState state, CustomResourceOptions options)
resources: _: type: aws:dataexchange:RevisionAssets get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- The ARN of the Data Exchange Revision Assets.
- Assets
List<Revision
Assets Asset> A block to define the asset associated with the revision. See Asset for more details.
The following arguments are optional:
- Comment string
- A comment for the revision. Maximum length is 16,348 characters.
- Created
At string - The timestamp when the revision was created, in RFC3339 format.
- Data
Set stringId - Unique identifier for the data set associated with the revision.
- Finalized bool
- Force
Destroy bool - Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Revision
Assets Timeouts - Updated
At string - The timestamp when the revision was last updated, in RFC3339 format.
- Arn string
- The ARN of the Data Exchange Revision Assets.
- Assets
[]Revision
Assets Asset Args A block to define the asset associated with the revision. See Asset for more details.
The following arguments are optional:
- Comment string
- A comment for the revision. Maximum length is 16,348 characters.
- Created
At string - The timestamp when the revision was created, in RFC3339 format.
- Data
Set stringId - Unique identifier for the data set associated with the revision.
- Finalized bool
- Force
Destroy bool - map[string]string
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Revision
Assets Timeouts Args - Updated
At string - The timestamp when the revision was last updated, in RFC3339 format.
- arn String
- The ARN of the Data Exchange Revision Assets.
- assets
List<Revision
Assets Asset> A block to define the asset associated with the revision. See Asset for more details.
The following arguments are optional:
- comment String
- A comment for the revision. Maximum length is 16,348 characters.
- created
At String - The timestamp when the revision was created, in RFC3339 format.
- data
Set StringId - Unique identifier for the data set associated with the revision.
- finalized Boolean
- force
Destroy Boolean - Map<String,String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Revision
Assets Timeouts - updated
At String - The timestamp when the revision was last updated, in RFC3339 format.
- arn string
- The ARN of the Data Exchange Revision Assets.
- assets
Revision
Assets Asset[] A block to define the asset associated with the revision. See Asset for more details.
The following arguments are optional:
- comment string
- A comment for the revision. Maximum length is 16,348 characters.
- created
At string - The timestamp when the revision was created, in RFC3339 format.
- data
Set stringId - Unique identifier for the data set associated with the revision.
- finalized boolean
- force
Destroy boolean - {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Revision
Assets Timeouts - updated
At string - The timestamp when the revision was last updated, in RFC3339 format.
- arn str
- The ARN of the Data Exchange Revision Assets.
- assets
Sequence[Revision
Assets Asset Args] A block to define the asset associated with the revision. See Asset for more details.
The following arguments are optional:
- comment str
- A comment for the revision. Maximum length is 16,348 characters.
- created_
at str - The timestamp when the revision was created, in RFC3339 format.
- data_
set_ strid - Unique identifier for the data set associated with the revision.
- finalized bool
- force_
destroy bool - Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Revision
Assets Timeouts Args - updated_
at str - The timestamp when the revision was last updated, in RFC3339 format.
- arn String
- The ARN of the Data Exchange Revision Assets.
- assets List<Property Map>
A block to define the asset associated with the revision. See Asset for more details.
The following arguments are optional:
- comment String
- A comment for the revision. Maximum length is 16,348 characters.
- created
At String - The timestamp when the revision was created, in RFC3339 format.
- data
Set StringId - Unique identifier for the data set associated with the revision.
- finalized Boolean
- force
Destroy Boolean - Map<String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts Property Map
- updated
At String - The timestamp when the revision was last updated, in RFC3339 format.
Supporting Types
RevisionAssetsAsset, RevisionAssetsAssetArgs
- Arn string
- The ARN of the Data Exchange Revision Assets.
- Create
S3Data RevisionAccess From S3Bucket Assets Asset Create S3Data Access From S3Bucket - A block to create S3 data access from an S3 bucket. See Create S3 Data Access from S3 Bucket for more details.
- Created
At string - The timestamp when the revision was created, in RFC3339 format.
- Id string
- The unique identifier for the revision.
- Import
Assets RevisionFrom S3 Assets Asset Import Assets From S3 - A block to import assets from S3. See Import Assets from S3 for more details.
- Import
Assets RevisionFrom Signed Url Assets Asset Import Assets From Signed Url - A block to import assets from a signed URL. See Import Assets from Signed URL for more details.
- Name string
- Updated
At string - The timestamp when the revision was last updated, in RFC3339 format.
- Arn string
- The ARN of the Data Exchange Revision Assets.
- Create
S3Data RevisionAccess From S3Bucket Assets Asset Create S3Data Access From S3Bucket - A block to create S3 data access from an S3 bucket. See Create S3 Data Access from S3 Bucket for more details.
- Created
At string - The timestamp when the revision was created, in RFC3339 format.
- Id string
- The unique identifier for the revision.
- Import
Assets RevisionFrom S3 Assets Asset Import Assets From S3 - A block to import assets from S3. See Import Assets from S3 for more details.
- Import
Assets RevisionFrom Signed Url Assets Asset Import Assets From Signed Url - A block to import assets from a signed URL. See Import Assets from Signed URL for more details.
- Name string
- Updated
At string - The timestamp when the revision was last updated, in RFC3339 format.
- arn String
- The ARN of the Data Exchange Revision Assets.
- create
S3Data RevisionAccess From S3Bucket Assets Asset Create S3Data Access From S3Bucket - A block to create S3 data access from an S3 bucket. See Create S3 Data Access from S3 Bucket for more details.
- created
At String - The timestamp when the revision was created, in RFC3339 format.
- id String
- The unique identifier for the revision.
- import
Assets RevisionFrom S3 Assets Asset Import Assets From S3 - A block to import assets from S3. See Import Assets from S3 for more details.
- import
Assets RevisionFrom Signed Url Assets Asset Import Assets From Signed Url - A block to import assets from a signed URL. See Import Assets from Signed URL for more details.
- name String
- updated
At String - The timestamp when the revision was last updated, in RFC3339 format.
- arn string
- The ARN of the Data Exchange Revision Assets.
- create
S3Data RevisionAccess From S3Bucket Assets Asset Create S3Data Access From S3Bucket - A block to create S3 data access from an S3 bucket. See Create S3 Data Access from S3 Bucket for more details.
- created
At string - The timestamp when the revision was created, in RFC3339 format.
- id string
- The unique identifier for the revision.
- import
Assets RevisionFrom S3 Assets Asset Import Assets From S3 - A block to import assets from S3. See Import Assets from S3 for more details.
- import
Assets RevisionFrom Signed Url Assets Asset Import Assets From Signed Url - A block to import assets from a signed URL. See Import Assets from Signed URL for more details.
- name string
- updated
At string - The timestamp when the revision was last updated, in RFC3339 format.
- arn str
- The ARN of the Data Exchange Revision Assets.
- create_
s3_ Revisiondata_ access_ from_ s3_ bucket Assets Asset Create S3Data Access From S3Bucket - A block to create S3 data access from an S3 bucket. See Create S3 Data Access from S3 Bucket for more details.
- created_
at str - The timestamp when the revision was created, in RFC3339 format.
- id str
- The unique identifier for the revision.
- import_
assets_ Revisionfrom_ s3 Assets Asset Import Assets From S3 - A block to import assets from S3. See Import Assets from S3 for more details.
- import_
assets_ Revisionfrom_ signed_ url Assets Asset Import Assets From Signed Url - A block to import assets from a signed URL. See Import Assets from Signed URL for more details.
- name str
- updated_
at str - The timestamp when the revision was last updated, in RFC3339 format.
- arn String
- The ARN of the Data Exchange Revision Assets.
- create
S3Data Property MapAccess From S3Bucket - A block to create S3 data access from an S3 bucket. See Create S3 Data Access from S3 Bucket for more details.
- created
At String - The timestamp when the revision was created, in RFC3339 format.
- id String
- The unique identifier for the revision.
- import
Assets Property MapFrom S3 - A block to import assets from S3. See Import Assets from S3 for more details.
- import
Assets Property MapFrom Signed Url - A block to import assets from a signed URL. See Import Assets from Signed URL for more details.
- name String
- updated
At String - The timestamp when the revision was last updated, in RFC3339 format.
RevisionAssetsAssetCreateS3DataAccessFromS3Bucket, RevisionAssetsAssetCreateS3DataAccessFromS3BucketArgs
- Access
Point stringAlias - Access
Point stringArn - Asset
Source RevisionAssets Asset Create S3Data Access From S3Bucket Asset Source - A block specifying the source bucket for the asset. This block supports the following:
- Access
Point stringAlias - Access
Point stringArn - Asset
Source RevisionAssets Asset Create S3Data Access From S3Bucket Asset Source - A block specifying the source bucket for the asset. This block supports the following:
- access
Point StringAlias - access
Point StringArn - asset
Source RevisionAssets Asset Create S3Data Access From S3Bucket Asset Source - A block specifying the source bucket for the asset. This block supports the following:
- access
Point stringAlias - access
Point stringArn - asset
Source RevisionAssets Asset Create S3Data Access From S3Bucket Asset Source - A block specifying the source bucket for the asset. This block supports the following:
- access_
point_ stralias - access_
point_ strarn - asset_
source RevisionAssets Asset Create S3Data Access From S3Bucket Asset Source - A block specifying the source bucket for the asset. This block supports the following:
- access
Point StringAlias - access
Point StringArn - asset
Source Property Map - A block specifying the source bucket for the asset. This block supports the following:
RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSource, RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSourceArgs
- Bucket string
- The name of the S3 bucket.
- Key
Prefixes List<string> - List of key prefixes in the S3 bucket.
- Keys List<string>
- List of object keys in the S3 bucket.
- Kms
Keys List<RevisionTo Grants Assets Asset Create S3Data Access From S3Bucket Asset Source Kms Keys To Grant>
- Bucket string
- The name of the S3 bucket.
- Key
Prefixes []string - List of key prefixes in the S3 bucket.
- Keys []string
- List of object keys in the S3 bucket.
- Kms
Keys []RevisionTo Grants Assets Asset Create S3Data Access From S3Bucket Asset Source Kms Keys To Grant
- bucket String
- The name of the S3 bucket.
- key
Prefixes List<String> - List of key prefixes in the S3 bucket.
- keys List<String>
- List of object keys in the S3 bucket.
- kms
Keys List<RevisionTo Grants Assets Asset Create S3Data Access From S3Bucket Asset Source Kms Keys To Grant>
- bucket string
- The name of the S3 bucket.
- key
Prefixes string[] - List of key prefixes in the S3 bucket.
- keys string[]
- List of object keys in the S3 bucket.
- kms
Keys RevisionTo Grants Assets Asset Create S3Data Access From S3Bucket Asset Source Kms Keys To Grant[]
- bucket str
- The name of the S3 bucket.
- key_
prefixes Sequence[str] - List of key prefixes in the S3 bucket.
- keys Sequence[str]
- List of object keys in the S3 bucket.
- kms_
keys_ Sequence[Revisionto_ grants Assets Asset Create S3Data Access From S3Bucket Asset Source Kms Keys To Grant]
- bucket String
- The name of the S3 bucket.
- key
Prefixes List<String> - List of key prefixes in the S3 bucket.
- keys List<String>
- List of object keys in the S3 bucket.
- kms
Keys List<Property Map>To Grants
RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSourceKmsKeysToGrant, RevisionAssetsAssetCreateS3DataAccessFromS3BucketAssetSourceKmsKeysToGrantArgs
- Kms
Key stringArn - The ARN of the KMS key.
- Kms
Key stringArn - The ARN of the KMS key.
- kms
Key StringArn - The ARN of the KMS key.
- kms
Key stringArn - The ARN of the KMS key.
- kms_
key_ strarn - The ARN of the KMS key.
- kms
Key StringArn - The ARN of the KMS key.
RevisionAssetsAssetImportAssetsFromS3, RevisionAssetsAssetImportAssetsFromS3Args
- Asset
Source RevisionAssets Asset Import Assets From S3Asset Source - A block specifying the source bucket and key for the asset. This block supports the following:
- Asset
Source RevisionAssets Asset Import Assets From S3Asset Source - A block specifying the source bucket and key for the asset. This block supports the following:
- asset
Source RevisionAssets Asset Import Assets From S3Asset Source - A block specifying the source bucket and key for the asset. This block supports the following:
- asset
Source RevisionAssets Asset Import Assets From S3Asset Source - A block specifying the source bucket and key for the asset. This block supports the following:
- asset_
source RevisionAssets Asset Import Assets From S3Asset Source - A block specifying the source bucket and key for the asset. This block supports the following:
- asset
Source Property Map - A block specifying the source bucket and key for the asset. This block supports the following:
RevisionAssetsAssetImportAssetsFromS3AssetSource, RevisionAssetsAssetImportAssetsFromS3AssetSourceArgs
RevisionAssetsAssetImportAssetsFromSignedUrl, RevisionAssetsAssetImportAssetsFromSignedUrlArgs
- Filename string
- The name of the file to import.
- Filename string
- The name of the file to import.
- filename String
- The name of the file to import.
- filename string
- The name of the file to import.
- filename str
- The name of the file to import.
- filename String
- The name of the file to import.
RevisionAssetsTimeouts, RevisionAssetsTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.