@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
171 lines (170 loc) • 6.23 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Resource for managing an AWS DataZone Asset Type.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const test = new aws.datazone.AssetType("test", {
* description: "example",
* domainIdentifier: testAwsDatazoneDomain.id,
* name: "example",
* owningProjectIdentifier: testAwsDatazoneProject.id,
* });
* ```
*
* ## Import
*
* Using `pulumi import`, import DataZone Asset Type using the `domain_identifier,name`. For example:
*
* ```sh
* $ pulumi import aws:datazone/assetType:AssetType example domain-id-12345678,example
* ```
*/
export declare class AssetType extends pulumi.CustomResource {
/**
* Get an existing AssetType resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AssetTypeState, opts?: pulumi.CustomResourceOptions): AssetType;
/**
* Returns true if the given object is an instance of AssetType. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is AssetType;
/**
* The timestamp when the custom asset type was created.
*/
readonly createdAt: pulumi.Output<string>;
/**
* The user who created the custom asset type.
*/
readonly createdBy: pulumi.Output<string>;
/**
* The description of the custom asset type.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The unique identifier of the Amazon DataZone domain where the custom asset type is being created.
*/
readonly domainIdentifier: pulumi.Output<string>;
/**
* The metadata forms that are to be attached to the custom asset type.
*/
readonly formsInputs: pulumi.Output<outputs.datazone.AssetTypeFormsInput[] | undefined>;
/**
* The name of the custom asset type.
*/
readonly name: pulumi.Output<string>;
/**
* The unique identifier of the Amazon DataZone project that owns the custom asset type.
*
* The following arguments are optional:
*/
readonly owningProjectIdentifier: pulumi.Output<string>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
readonly region: pulumi.Output<string>;
/**
* The revision of the asset type.
*/
readonly revision: pulumi.Output<string>;
readonly timeouts: pulumi.Output<outputs.datazone.AssetTypeTimeouts | undefined>;
/**
* Create a AssetType resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: AssetTypeArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering AssetType resources.
*/
export interface AssetTypeState {
/**
* The timestamp when the custom asset type was created.
*/
createdAt?: pulumi.Input<string>;
/**
* The user who created the custom asset type.
*/
createdBy?: pulumi.Input<string>;
/**
* The description of the custom asset type.
*/
description?: pulumi.Input<string>;
/**
* The unique identifier of the Amazon DataZone domain where the custom asset type is being created.
*/
domainIdentifier?: pulumi.Input<string>;
/**
* The metadata forms that are to be attached to the custom asset type.
*/
formsInputs?: pulumi.Input<pulumi.Input<inputs.datazone.AssetTypeFormsInput>[]>;
/**
* The name of the custom asset type.
*/
name?: pulumi.Input<string>;
/**
* The unique identifier of the Amazon DataZone project that owns the custom asset type.
*
* The following arguments are optional:
*/
owningProjectIdentifier?: pulumi.Input<string>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
/**
* The revision of the asset type.
*/
revision?: pulumi.Input<string>;
timeouts?: pulumi.Input<inputs.datazone.AssetTypeTimeouts>;
}
/**
* The set of arguments for constructing a AssetType resource.
*/
export interface AssetTypeArgs {
/**
* The description of the custom asset type.
*/
description?: pulumi.Input<string>;
/**
* The unique identifier of the Amazon DataZone domain where the custom asset type is being created.
*/
domainIdentifier: pulumi.Input<string>;
/**
* The metadata forms that are to be attached to the custom asset type.
*/
formsInputs?: pulumi.Input<pulumi.Input<inputs.datazone.AssetTypeFormsInput>[]>;
/**
* The name of the custom asset type.
*/
name?: pulumi.Input<string>;
/**
* The unique identifier of the Amazon DataZone project that owns the custom asset type.
*
* The following arguments are optional:
*/
owningProjectIdentifier: pulumi.Input<string>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
timeouts?: pulumi.Input<inputs.datazone.AssetTypeTimeouts>;
}