dataexchange

package
v4.37.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	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/v4/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"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DataExchange DataSets can be imported by their arn

```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) ElementType() reflect.Type

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	TagsAll 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 (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 (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) ElementType

func (DataSetOutput) ElementType() reflect.Type

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	TagsAll pulumi.StringMapInput
}

func (DataSetState) ElementType

func (DataSetState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL