Asset Type Args
data class AssetTypeArgs(val description: Output<String>? = null, val domainIdentifier: Output<String>? = null, val formsInputs: Output<List<AssetTypeFormsInputArgs>>? = null, val name: Output<String>? = null, val owningProjectIdentifier: Output<String>? = null, val timeouts: Output<AssetTypeTimeoutsArgs>? = null) : ConvertibleToJava<AssetTypeArgs>
Resource for managing an AWS DataZone Asset Type.
Example Usage
Basic Usage
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,
});
Content copied to clipboard
import pulumi
import pulumi_aws as aws
test = aws.datazone.AssetType("test",
description="example",
domain_identifier=test_aws_datazone_domain["id"],
name="example",
owning_project_identifier=test_aws_datazone_project["id"])
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var test = new Aws.DataZone.AssetType("test", new()
{
Description = "example",
DomainIdentifier = testAwsDatazoneDomain.Id,
Name = "example",
OwningProjectIdentifier = testAwsDatazoneProject.Id,
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/datazone"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datazone.NewAssetType(ctx, "test", &datazone.AssetTypeArgs{
Description: pulumi.String("example"),
DomainIdentifier: pulumi.Any(testAwsDatazoneDomain.Id),
Name: pulumi.String("example"),
OwningProjectIdentifier: pulumi.Any(testAwsDatazoneProject.Id),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.datazone.AssetType;
import com.pulumi.aws.datazone.AssetTypeArgs;
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 test = new AssetType("test", AssetTypeArgs.builder()
.description("example")
.domainIdentifier(testAwsDatazoneDomain.id())
.name("example")
.owningProjectIdentifier(testAwsDatazoneProject.id())
.build());
}
}
Content copied to clipboard
resources:
test:
type: aws:datazone:AssetType
properties:
description: example
domainIdentifier: ${testAwsDatazoneDomain.id}
name: example
owningProjectIdentifier: ${testAwsDatazoneProject.id}
Content copied to clipboard
Import
Using pulumi import
, import DataZone Asset Type using the domain_identifier,name
. For example:
$ pulumi import aws:datazone/assetType:AssetType example domain-id-12345678,example
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(description: Output<String>? = null, domainIdentifier: Output<String>? = null, formsInputs: Output<List<AssetTypeFormsInputArgs>>? = null, name: Output<String>? = null, owningProjectIdentifier: Output<String>? = null, timeouts: Output<AssetTypeTimeoutsArgs>? = null)
Properties
Link copied to clipboard
The description of the custom asset type.
Link copied to clipboard
The unique identifier of the Amazon DataZone domain where the custom asset type is being created.
Link copied to clipboard
The metadata forms that are to be attached to the custom asset type.
Link copied to clipboard
The unique identifier of the Amazon DataZone project that owns the custom asset type. The following arguments are optional:
Link copied to clipboard