Documentation ¶
Index ¶
- type DataSet
- type DataSetArgs
- type DataSetArray
- type DataSetArrayInput
- type DataSetArrayOutput
- type DataSetInput
- type DataSetMap
- type DataSetMapInput
- type DataSetMapOutput
- type DataSetOutput
- func (o DataSetOutput) Arn() pulumi.StringOutput
- func (o DataSetOutput) AssetType() pulumi.StringOutput
- func (o DataSetOutput) Description() pulumi.StringOutput
- func (DataSetOutput) ElementType() reflect.Type
- func (o DataSetOutput) Name() pulumi.StringOutput
- func (o DataSetOutput) Tags() pulumi.StringMapOutput
- func (o DataSetOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o DataSetOutput) ToDataSetOutput() DataSetOutput
- func (o DataSetOutput) ToDataSetOutputWithContext(ctx context.Context) DataSetOutput
- type DataSetState
- type Revision
- type RevisionArgs
- type RevisionArray
- type RevisionArrayInput
- type RevisionArrayOutput
- type RevisionInput
- type RevisionMap
- type RevisionMapInput
- type RevisionMapOutput
- type RevisionOutput
- func (o RevisionOutput) Arn() pulumi.StringOutput
- func (o RevisionOutput) Comment() pulumi.StringPtrOutput
- func (o RevisionOutput) DataSetId() pulumi.StringOutput
- func (RevisionOutput) ElementType() reflect.Type
- func (o RevisionOutput) RevisionId() pulumi.StringOutput
- func (o RevisionOutput) Tags() pulumi.StringMapOutput
- func (o RevisionOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o RevisionOutput) ToRevisionOutput() RevisionOutput
- func (o RevisionOutput) ToRevisionOutputWithContext(ctx context.Context) RevisionOutput
- type RevisionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSet ¶
type DataSet struct { pulumi.CustomResourceState // The Amazon Resource Name of this data set. Arn pulumi.StringOutput `pulumi:"arn"` // The type of asset that is added to a data set. Valid values are: `S3_SNAPSHOT`, `REDSHIFT_DATA_SHARE`, and `API_GATEWAY_API`. AssetType pulumi.StringOutput `pulumi:"assetType"` // A description for the data set. Description pulumi.StringOutput `pulumi:"description"` // The name of the data set. Name pulumi.StringOutput `pulumi:"name"` // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a resource to manage AWS Data Exchange DataSets.
## Example Usage
```go 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.NewDataSet(ctx, "example", &dataexchange.DataSetArgs{ AssetType: pulumi.String("S3_SNAPSHOT"), Description: pulumi.String("example"), Name: pulumi.String("example"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import DataExchange DataSets using their ARN. For example:
```sh $ pulumi import aws:dataexchange/dataSet:DataSet example arn:aws:dataexchange:us-west-2:123456789012:data-sets/4fa784c7-ccb4-4dbf-ba4f-02198320daa1 ```
func GetDataSet ¶
func GetDataSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DataSetState, opts ...pulumi.ResourceOption) (*DataSet, error)
GetDataSet gets an existing DataSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDataSet ¶
func NewDataSet(ctx *pulumi.Context, name string, args *DataSetArgs, opts ...pulumi.ResourceOption) (*DataSet, error)
NewDataSet registers a new resource with the given unique name, arguments, and options.
func (*DataSet) ElementType ¶
func (*DataSet) ToDataSetOutput ¶
func (i *DataSet) ToDataSetOutput() DataSetOutput
func (*DataSet) ToDataSetOutputWithContext ¶
func (i *DataSet) ToDataSetOutputWithContext(ctx context.Context) DataSetOutput
type DataSetArgs ¶
type DataSetArgs struct { // The type of asset that is added to a data set. Valid values are: `S3_SNAPSHOT`, `REDSHIFT_DATA_SHARE`, and `API_GATEWAY_API`. AssetType pulumi.StringInput // A description for the data set. Description pulumi.StringInput // The name of the data set. Name pulumi.StringPtrInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a DataSet resource.
func (DataSetArgs) ElementType ¶
func (DataSetArgs) ElementType() reflect.Type
type DataSetArray ¶
type DataSetArray []DataSetInput
func (DataSetArray) ElementType ¶
func (DataSetArray) ElementType() reflect.Type
func (DataSetArray) ToDataSetArrayOutput ¶
func (i DataSetArray) ToDataSetArrayOutput() DataSetArrayOutput
func (DataSetArray) ToDataSetArrayOutputWithContext ¶
func (i DataSetArray) ToDataSetArrayOutputWithContext(ctx context.Context) DataSetArrayOutput
type DataSetArrayInput ¶
type DataSetArrayInput interface { pulumi.Input ToDataSetArrayOutput() DataSetArrayOutput ToDataSetArrayOutputWithContext(context.Context) DataSetArrayOutput }
DataSetArrayInput is an input type that accepts DataSetArray and DataSetArrayOutput values. You can construct a concrete instance of `DataSetArrayInput` via:
DataSetArray{ DataSetArgs{...} }
type DataSetArrayOutput ¶
type DataSetArrayOutput struct{ *pulumi.OutputState }
func (DataSetArrayOutput) ElementType ¶
func (DataSetArrayOutput) ElementType() reflect.Type
func (DataSetArrayOutput) Index ¶
func (o DataSetArrayOutput) Index(i pulumi.IntInput) DataSetOutput
func (DataSetArrayOutput) ToDataSetArrayOutput ¶
func (o DataSetArrayOutput) ToDataSetArrayOutput() DataSetArrayOutput
func (DataSetArrayOutput) ToDataSetArrayOutputWithContext ¶
func (o DataSetArrayOutput) ToDataSetArrayOutputWithContext(ctx context.Context) DataSetArrayOutput
type DataSetInput ¶
type DataSetInput interface { pulumi.Input ToDataSetOutput() DataSetOutput ToDataSetOutputWithContext(ctx context.Context) DataSetOutput }
type DataSetMap ¶
type DataSetMap map[string]DataSetInput
func (DataSetMap) ElementType ¶
func (DataSetMap) ElementType() reflect.Type
func (DataSetMap) ToDataSetMapOutput ¶
func (i DataSetMap) ToDataSetMapOutput() DataSetMapOutput
func (DataSetMap) ToDataSetMapOutputWithContext ¶
func (i DataSetMap) ToDataSetMapOutputWithContext(ctx context.Context) DataSetMapOutput
type DataSetMapInput ¶
type DataSetMapInput interface { pulumi.Input ToDataSetMapOutput() DataSetMapOutput ToDataSetMapOutputWithContext(context.Context) DataSetMapOutput }
DataSetMapInput is an input type that accepts DataSetMap and DataSetMapOutput values. You can construct a concrete instance of `DataSetMapInput` via:
DataSetMap{ "key": DataSetArgs{...} }
type DataSetMapOutput ¶
type DataSetMapOutput struct{ *pulumi.OutputState }
func (DataSetMapOutput) ElementType ¶
func (DataSetMapOutput) ElementType() reflect.Type
func (DataSetMapOutput) MapIndex ¶
func (o DataSetMapOutput) MapIndex(k pulumi.StringInput) DataSetOutput
func (DataSetMapOutput) ToDataSetMapOutput ¶
func (o DataSetMapOutput) ToDataSetMapOutput() DataSetMapOutput
func (DataSetMapOutput) ToDataSetMapOutputWithContext ¶
func (o DataSetMapOutput) ToDataSetMapOutputWithContext(ctx context.Context) DataSetMapOutput
type DataSetOutput ¶
type DataSetOutput struct{ *pulumi.OutputState }
func (DataSetOutput) Arn ¶
func (o DataSetOutput) Arn() pulumi.StringOutput
The Amazon Resource Name of this data set.
func (DataSetOutput) AssetType ¶
func (o DataSetOutput) AssetType() pulumi.StringOutput
The type of asset that is added to a data set. Valid values are: `S3_SNAPSHOT`, `REDSHIFT_DATA_SHARE`, and `API_GATEWAY_API`.
func (DataSetOutput) Description ¶
func (o DataSetOutput) Description() pulumi.StringOutput
A description for the data set.
func (DataSetOutput) ElementType ¶
func (DataSetOutput) ElementType() reflect.Type
func (DataSetOutput) Name ¶
func (o DataSetOutput) Name() pulumi.StringOutput
The name of the data set.
func (DataSetOutput) Tags ¶
func (o DataSetOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (DataSetOutput) TagsAll
deprecated
func (o DataSetOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (DataSetOutput) ToDataSetOutput ¶
func (o DataSetOutput) ToDataSetOutput() DataSetOutput
func (DataSetOutput) ToDataSetOutputWithContext ¶
func (o DataSetOutput) ToDataSetOutputWithContext(ctx context.Context) DataSetOutput
type DataSetState ¶
type DataSetState struct { // The Amazon Resource Name of this data set. Arn pulumi.StringPtrInput // The type of asset that is added to a data set. Valid values are: `S3_SNAPSHOT`, `REDSHIFT_DATA_SHARE`, and `API_GATEWAY_API`. AssetType pulumi.StringPtrInput // A description for the data set. Description pulumi.StringPtrInput // The name of the data set. Name pulumi.StringPtrInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (DataSetState) ElementType ¶
func (DataSetState) ElementType() reflect.Type
type Revision ¶
type Revision struct { pulumi.CustomResourceState // The Amazon Resource Name of this data set. Arn pulumi.StringOutput `pulumi:"arn"` // An optional comment about the revision. Comment pulumi.StringPtrOutput `pulumi:"comment"` // The dataset id. DataSetId pulumi.StringOutput `pulumi:"dataSetId"` // The Id of the revision. RevisionId pulumi.StringOutput `pulumi:"revisionId"` // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a resource to manage AWS Data Exchange Revisions.
## Example Usage
```go 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.NewRevision(ctx, "example", &dataexchange.RevisionArgs{ DataSetId: pulumi.Any(exampleAwsDataexchangeDataSet.Id), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import DataExchange Revisions using their `data-set-id:revision-id`. For example:
```sh $ pulumi import aws:dataexchange/revision:Revision example 4fa784c7-ccb4-4dbf-ba4f-02198320daa1:4fa784c7-ccb4-4dbf-ba4f-02198320daa1 ```
func GetRevision ¶
func GetRevision(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RevisionState, opts ...pulumi.ResourceOption) (*Revision, error)
GetRevision gets an existing Revision resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRevision ¶
func NewRevision(ctx *pulumi.Context, name string, args *RevisionArgs, opts ...pulumi.ResourceOption) (*Revision, error)
NewRevision registers a new resource with the given unique name, arguments, and options.
func (*Revision) ElementType ¶
func (*Revision) ToRevisionOutput ¶
func (i *Revision) ToRevisionOutput() RevisionOutput
func (*Revision) ToRevisionOutputWithContext ¶
func (i *Revision) ToRevisionOutputWithContext(ctx context.Context) RevisionOutput
type RevisionArgs ¶
type RevisionArgs struct { // An optional comment about the revision. Comment pulumi.StringPtrInput // The dataset id. DataSetId pulumi.StringInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Revision resource.
func (RevisionArgs) ElementType ¶
func (RevisionArgs) ElementType() reflect.Type
type RevisionArray ¶
type RevisionArray []RevisionInput
func (RevisionArray) ElementType ¶
func (RevisionArray) ElementType() reflect.Type
func (RevisionArray) ToRevisionArrayOutput ¶
func (i RevisionArray) ToRevisionArrayOutput() RevisionArrayOutput
func (RevisionArray) ToRevisionArrayOutputWithContext ¶
func (i RevisionArray) ToRevisionArrayOutputWithContext(ctx context.Context) RevisionArrayOutput
type RevisionArrayInput ¶
type RevisionArrayInput interface { pulumi.Input ToRevisionArrayOutput() RevisionArrayOutput ToRevisionArrayOutputWithContext(context.Context) RevisionArrayOutput }
RevisionArrayInput is an input type that accepts RevisionArray and RevisionArrayOutput values. You can construct a concrete instance of `RevisionArrayInput` via:
RevisionArray{ RevisionArgs{...} }
type RevisionArrayOutput ¶
type RevisionArrayOutput struct{ *pulumi.OutputState }
func (RevisionArrayOutput) ElementType ¶
func (RevisionArrayOutput) ElementType() reflect.Type
func (RevisionArrayOutput) Index ¶
func (o RevisionArrayOutput) Index(i pulumi.IntInput) RevisionOutput
func (RevisionArrayOutput) ToRevisionArrayOutput ¶
func (o RevisionArrayOutput) ToRevisionArrayOutput() RevisionArrayOutput
func (RevisionArrayOutput) ToRevisionArrayOutputWithContext ¶
func (o RevisionArrayOutput) ToRevisionArrayOutputWithContext(ctx context.Context) RevisionArrayOutput
type RevisionInput ¶
type RevisionInput interface { pulumi.Input ToRevisionOutput() RevisionOutput ToRevisionOutputWithContext(ctx context.Context) RevisionOutput }
type RevisionMap ¶
type RevisionMap map[string]RevisionInput
func (RevisionMap) ElementType ¶
func (RevisionMap) ElementType() reflect.Type
func (RevisionMap) ToRevisionMapOutput ¶
func (i RevisionMap) ToRevisionMapOutput() RevisionMapOutput
func (RevisionMap) ToRevisionMapOutputWithContext ¶
func (i RevisionMap) ToRevisionMapOutputWithContext(ctx context.Context) RevisionMapOutput
type RevisionMapInput ¶
type RevisionMapInput interface { pulumi.Input ToRevisionMapOutput() RevisionMapOutput ToRevisionMapOutputWithContext(context.Context) RevisionMapOutput }
RevisionMapInput is an input type that accepts RevisionMap and RevisionMapOutput values. You can construct a concrete instance of `RevisionMapInput` via:
RevisionMap{ "key": RevisionArgs{...} }
type RevisionMapOutput ¶
type RevisionMapOutput struct{ *pulumi.OutputState }
func (RevisionMapOutput) ElementType ¶
func (RevisionMapOutput) ElementType() reflect.Type
func (RevisionMapOutput) MapIndex ¶
func (o RevisionMapOutput) MapIndex(k pulumi.StringInput) RevisionOutput
func (RevisionMapOutput) ToRevisionMapOutput ¶
func (o RevisionMapOutput) ToRevisionMapOutput() RevisionMapOutput
func (RevisionMapOutput) ToRevisionMapOutputWithContext ¶
func (o RevisionMapOutput) ToRevisionMapOutputWithContext(ctx context.Context) RevisionMapOutput
type RevisionOutput ¶
type RevisionOutput struct{ *pulumi.OutputState }
func (RevisionOutput) Arn ¶
func (o RevisionOutput) Arn() pulumi.StringOutput
The Amazon Resource Name of this data set.
func (RevisionOutput) Comment ¶
func (o RevisionOutput) Comment() pulumi.StringPtrOutput
An optional comment about the revision.
func (RevisionOutput) DataSetId ¶
func (o RevisionOutput) DataSetId() pulumi.StringOutput
The dataset id.
func (RevisionOutput) ElementType ¶
func (RevisionOutput) ElementType() reflect.Type
func (RevisionOutput) RevisionId ¶
func (o RevisionOutput) RevisionId() pulumi.StringOutput
The Id of the revision.
func (RevisionOutput) Tags ¶
func (o RevisionOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (RevisionOutput) TagsAll
deprecated
func (o RevisionOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (RevisionOutput) ToRevisionOutput ¶
func (o RevisionOutput) ToRevisionOutput() RevisionOutput
func (RevisionOutput) ToRevisionOutputWithContext ¶
func (o RevisionOutput) ToRevisionOutputWithContext(ctx context.Context) RevisionOutput
type RevisionState ¶
type RevisionState struct { // The Amazon Resource Name of this data set. Arn pulumi.StringPtrInput // An optional comment about the revision. Comment pulumi.StringPtrInput // The dataset id. DataSetId pulumi.StringPtrInput // The Id of the revision. RevisionId pulumi.StringPtrInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (RevisionState) ElementType ¶
func (RevisionState) ElementType() reflect.Type