aws.datazone.FormType
Explore with Pulumi AI
Resource for managing an AWS DataZone Form Type.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const domainExecutionRole = new aws.iam.Role("domain_execution_role", {
name: "example-role",
assumeRolePolicy: JSON.stringify({
Version: "2012-10-17",
Statement: [
{
Action: [
"sts:AssumeRole",
"sts:TagSession",
],
Effect: "Allow",
Principal: {
Service: "datazone.amazonaws.com",
},
},
{
Action: [
"sts:AssumeRole",
"sts:TagSession",
],
Effect: "Allow",
Principal: {
Service: "cloudformation.amazonaws.com",
},
},
],
}),
inlinePolicies: [{
name: "example-policy",
policy: JSON.stringify({
Version: "2012-10-17",
Statement: [{
Action: [
"datazone:*",
"ram:*",
"sso:*",
"kms:*",
],
Effect: "Allow",
Resource: "*",
}],
}),
}],
});
const test = new aws.datazone.Domain("test", {
name: "example",
domainExecutionRole: domainExecutionRole.arn,
});
const testSecurityGroup = new aws.ec2.SecurityGroup("test", {name: "example"});
const testProject = new aws.datazone.Project("test", {
domainIdentifier: test.id,
glossaryTerms: ["2N8w6XJCwZf"],
name: "example name",
description: "desc",
skipDeletionCheck: true,
});
const testFormType = new aws.datazone.FormType("test", {
description: "desc",
name: "SageMakerModelFormType",
domainIdentifier: test.id,
owningProjectIdentifier: testProject.id,
status: "DISABLED",
model: {
smithy: `\x09structure SageMakerModelFormType {
\x09\x09\x09@required
\x09\x09\x09@amazon.datazone#searchable
\x09\x09\x09modelName: String
\x09\x09\x09@required
\x09\x09\x09modelArn: String
\x09\x09\x09@required
\x09\x09\x09creationTime: String
\x09\x09\x09}
`,
},
});
import pulumi
import json
import pulumi_aws as aws
domain_execution_role = aws.iam.Role("domain_execution_role",
name="example-role",
assume_role_policy=json.dumps({
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"sts:AssumeRole",
"sts:TagSession",
],
"Effect": "Allow",
"Principal": {
"Service": "datazone.amazonaws.com",
},
},
{
"Action": [
"sts:AssumeRole",
"sts:TagSession",
],
"Effect": "Allow",
"Principal": {
"Service": "cloudformation.amazonaws.com",
},
},
],
}),
inline_policies=[{
"name": "example-policy",
"policy": json.dumps({
"Version": "2012-10-17",
"Statement": [{
"Action": [
"datazone:*",
"ram:*",
"sso:*",
"kms:*",
],
"Effect": "Allow",
"Resource": "*",
}],
}),
}])
test = aws.datazone.Domain("test",
name="example",
domain_execution_role=domain_execution_role.arn)
test_security_group = aws.ec2.SecurityGroup("test", name="example")
test_project = aws.datazone.Project("test",
domain_identifier=test.id,
glossary_terms=["2N8w6XJCwZf"],
name="example name",
description="desc",
skip_deletion_check=True)
test_form_type = aws.datazone.FormType("test",
description="desc",
name="SageMakerModelFormType",
domain_identifier=test.id,
owning_project_identifier=test_project.id,
status="DISABLED",
model={
"smithy": """\x09structure SageMakerModelFormType {
\x09\x09\x09@required
\x09\x09\x09@amazon.datazone#searchable
\x09\x09\x09modelName: String
\x09\x09\x09@required
\x09\x09\x09modelArn: String
\x09\x09\x09@required
\x09\x09\x09creationTime: String
\x09\x09\x09}
""",
})
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/datazone"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
tmpJSON0, err := json.Marshal(map[string]interface{}{
"Version": "2012-10-17",
"Statement": []map[string]interface{}{
map[string]interface{}{
"Action": []string{
"sts:AssumeRole",
"sts:TagSession",
},
"Effect": "Allow",
"Principal": map[string]interface{}{
"Service": "datazone.amazonaws.com",
},
},
map[string]interface{}{
"Action": []string{
"sts:AssumeRole",
"sts:TagSession",
},
"Effect": "Allow",
"Principal": map[string]interface{}{
"Service": "cloudformation.amazonaws.com",
},
},
},
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
tmpJSON1, err := json.Marshal(map[string]interface{}{
"Version": "2012-10-17",
"Statement": []map[string]interface{}{
map[string]interface{}{
"Action": []string{
"datazone:*",
"ram:*",
"sso:*",
"kms:*",
},
"Effect": "Allow",
"Resource": "*",
},
},
})
if err != nil {
return err
}
json1 := string(tmpJSON1)
domainExecutionRole, err := iam.NewRole(ctx, "domain_execution_role", &iam.RoleArgs{
Name: pulumi.String("example-role"),
AssumeRolePolicy: pulumi.String(json0),
InlinePolicies: iam.RoleInlinePolicyArray{
&iam.RoleInlinePolicyArgs{
Name: pulumi.String("example-policy"),
Policy: pulumi.String(json1),
},
},
})
if err != nil {
return err
}
test, err := datazone.NewDomain(ctx, "test", &datazone.DomainArgs{
Name: pulumi.String("example"),
DomainExecutionRole: domainExecutionRole.Arn,
})
if err != nil {
return err
}
_, err = ec2.NewSecurityGroup(ctx, "test", &ec2.SecurityGroupArgs{
Name: pulumi.String("example"),
})
if err != nil {
return err
}
testProject, err := datazone.NewProject(ctx, "test", &datazone.ProjectArgs{
DomainIdentifier: test.ID(),
GlossaryTerms: pulumi.StringArray{
pulumi.String("2N8w6XJCwZf"),
},
Name: pulumi.String("example name"),
Description: pulumi.String("desc"),
SkipDeletionCheck: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = datazone.NewFormType(ctx, "test", &datazone.FormTypeArgs{
Description: pulumi.String("desc"),
Name: pulumi.String("SageMakerModelFormType"),
DomainIdentifier: test.ID(),
OwningProjectIdentifier: testProject.ID(),
Status: pulumi.String("DISABLED"),
Model: &datazone.FormTypeModelArgs{
Smithy: pulumi.String(` structure SageMakerModelFormType {
@required
@amazon.datazone#searchable
modelName: String
@required
modelArn: String
@required
creationTime: String
}
`),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var domainExecutionRole = new Aws.Iam.Role("domain_execution_role", new()
{
Name = "example-role",
AssumeRolePolicy = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["Version"] = "2012-10-17",
["Statement"] = new[]
{
new Dictionary<string, object?>
{
["Action"] = new[]
{
"sts:AssumeRole",
"sts:TagSession",
},
["Effect"] = "Allow",
["Principal"] = new Dictionary<string, object?>
{
["Service"] = "datazone.amazonaws.com",
},
},
new Dictionary<string, object?>
{
["Action"] = new[]
{
"sts:AssumeRole",
"sts:TagSession",
},
["Effect"] = "Allow",
["Principal"] = new Dictionary<string, object?>
{
["Service"] = "cloudformation.amazonaws.com",
},
},
},
}),
InlinePolicies = new[]
{
new Aws.Iam.Inputs.RoleInlinePolicyArgs
{
Name = "example-policy",
Policy = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["Version"] = "2012-10-17",
["Statement"] = new[]
{
new Dictionary<string, object?>
{
["Action"] = new[]
{
"datazone:*",
"ram:*",
"sso:*",
"kms:*",
},
["Effect"] = "Allow",
["Resource"] = "*",
},
},
}),
},
},
});
var test = new Aws.DataZone.Domain("test", new()
{
Name = "example",
DomainExecutionRole = domainExecutionRole.Arn,
});
var testSecurityGroup = new Aws.Ec2.SecurityGroup("test", new()
{
Name = "example",
});
var testProject = new Aws.DataZone.Project("test", new()
{
DomainIdentifier = test.Id,
GlossaryTerms = new[]
{
"2N8w6XJCwZf",
},
Name = "example name",
Description = "desc",
SkipDeletionCheck = true,
});
var testFormType = new Aws.DataZone.FormType("test", new()
{
Description = "desc",
Name = "SageMakerModelFormType",
DomainIdentifier = test.Id,
OwningProjectIdentifier = testProject.Id,
Status = "DISABLED",
Model = new Aws.DataZone.Inputs.FormTypeModelArgs
{
Smithy = @" structure SageMakerModelFormType {
@required
@amazon.datazone#searchable
modelName: String
@required
modelArn: String
@required
creationTime: String
}
",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iam.Role;
import com.pulumi.aws.iam.RoleArgs;
import com.pulumi.aws.iam.inputs.RoleInlinePolicyArgs;
import com.pulumi.aws.datazone.Domain;
import com.pulumi.aws.datazone.DomainArgs;
import com.pulumi.aws.ec2.SecurityGroup;
import com.pulumi.aws.ec2.SecurityGroupArgs;
import com.pulumi.aws.datazone.Project;
import com.pulumi.aws.datazone.ProjectArgs;
import com.pulumi.aws.datazone.FormType;
import com.pulumi.aws.datazone.FormTypeArgs;
import com.pulumi.aws.datazone.inputs.FormTypeModelArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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 domainExecutionRole = new Role("domainExecutionRole", RoleArgs.builder()
.name("example-role")
.assumeRolePolicy(serializeJson(
jsonObject(
jsonProperty("Version", "2012-10-17"),
jsonProperty("Statement", jsonArray(
jsonObject(
jsonProperty("Action", jsonArray(
"sts:AssumeRole",
"sts:TagSession"
)),
jsonProperty("Effect", "Allow"),
jsonProperty("Principal", jsonObject(
jsonProperty("Service", "datazone.amazonaws.com")
))
),
jsonObject(
jsonProperty("Action", jsonArray(
"sts:AssumeRole",
"sts:TagSession"
)),
jsonProperty("Effect", "Allow"),
jsonProperty("Principal", jsonObject(
jsonProperty("Service", "cloudformation.amazonaws.com")
))
)
))
)))
.inlinePolicies(RoleInlinePolicyArgs.builder()
.name("example-policy")
.policy(serializeJson(
jsonObject(
jsonProperty("Version", "2012-10-17"),
jsonProperty("Statement", jsonArray(jsonObject(
jsonProperty("Action", jsonArray(
"datazone:*",
"ram:*",
"sso:*",
"kms:*"
)),
jsonProperty("Effect", "Allow"),
jsonProperty("Resource", "*")
)))
)))
.build())
.build());
var test = new Domain("test", DomainArgs.builder()
.name("example")
.domainExecutionRole(domainExecutionRole.arn())
.build());
var testSecurityGroup = new SecurityGroup("testSecurityGroup", SecurityGroupArgs.builder()
.name("example")
.build());
var testProject = new Project("testProject", ProjectArgs.builder()
.domainIdentifier(test.id())
.glossaryTerms("2N8w6XJCwZf")
.name("example name")
.description("desc")
.skipDeletionCheck(true)
.build());
var testFormType = new FormType("testFormType", FormTypeArgs.builder()
.description("desc")
.name("SageMakerModelFormType")
.domainIdentifier(test.id())
.owningProjectIdentifier(testProject.id())
.status("DISABLED")
.model(FormTypeModelArgs.builder()
.smithy("""
structure SageMakerModelFormType {
@required
@amazon.datazone#searchable
modelName: String
@required
modelArn: String
@required
creationTime: String
}
""")
.build())
.build());
}
}
resources:
domainExecutionRole:
type: aws:iam:Role
name: domain_execution_role
properties:
name: example-role
assumeRolePolicy:
fn::toJSON:
Version: 2012-10-17
Statement:
- Action:
- sts:AssumeRole
- sts:TagSession
Effect: Allow
Principal:
Service: datazone.amazonaws.com
- Action:
- sts:AssumeRole
- sts:TagSession
Effect: Allow
Principal:
Service: cloudformation.amazonaws.com
inlinePolicies:
- name: example-policy
policy:
fn::toJSON:
Version: 2012-10-17
Statement:
- Action:
- datazone:*
- ram:*
- sso:*
- kms:*
Effect: Allow
Resource: '*'
test:
type: aws:datazone:Domain
properties:
name: example
domainExecutionRole: ${domainExecutionRole.arn}
testSecurityGroup:
type: aws:ec2:SecurityGroup
name: test
properties:
name: example
testProject:
type: aws:datazone:Project
name: test
properties:
domainIdentifier: ${test.id}
glossaryTerms:
- 2N8w6XJCwZf
name: example name
description: desc
skipDeletionCheck: true
testFormType:
type: aws:datazone:FormType
name: test
properties:
description: desc
name: SageMakerModelFormType
domainIdentifier: ${test.id}
owningProjectIdentifier: ${testProject.id}
status: DISABLED
model:
smithy: |
structure SageMakerModelFormType {
@required
@amazon.datazone#searchable
modelName: String
@required
modelArn: String
@required
creationTime: String
}
Create FormType Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FormType(name: string, args: FormTypeArgs, opts?: CustomResourceOptions);
@overload
def FormType(resource_name: str,
args: FormTypeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FormType(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_identifier: Optional[str] = None,
owning_project_identifier: Optional[str] = None,
description: Optional[str] = None,
model: Optional[FormTypeModelArgs] = None,
name: Optional[str] = None,
status: Optional[str] = None,
timeouts: Optional[FormTypeTimeoutsArgs] = None)
func NewFormType(ctx *Context, name string, args FormTypeArgs, opts ...ResourceOption) (*FormType, error)
public FormType(string name, FormTypeArgs args, CustomResourceOptions? opts = null)
public FormType(String name, FormTypeArgs args)
public FormType(String name, FormTypeArgs args, CustomResourceOptions options)
type: aws:datazone:FormType
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 FormTypeArgs
- 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 FormTypeArgs
- 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 FormTypeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FormTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FormTypeArgs
- 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 formTypeResource = new Aws.DataZone.FormType("formTypeResource", new()
{
DomainIdentifier = "string",
OwningProjectIdentifier = "string",
Description = "string",
Model = new Aws.DataZone.Inputs.FormTypeModelArgs
{
Smithy = "string",
},
Name = "string",
Status = "string",
Timeouts = new Aws.DataZone.Inputs.FormTypeTimeoutsArgs
{
Create = "string",
},
});
example, err := datazone.NewFormType(ctx, "formTypeResource", &datazone.FormTypeArgs{
DomainIdentifier: pulumi.String("string"),
OwningProjectIdentifier: pulumi.String("string"),
Description: pulumi.String("string"),
Model: &datazone.FormTypeModelArgs{
Smithy: pulumi.String("string"),
},
Name: pulumi.String("string"),
Status: pulumi.String("string"),
Timeouts: &datazone.FormTypeTimeoutsArgs{
Create: pulumi.String("string"),
},
})
var formTypeResource = new FormType("formTypeResource", FormTypeArgs.builder()
.domainIdentifier("string")
.owningProjectIdentifier("string")
.description("string")
.model(FormTypeModelArgs.builder()
.smithy("string")
.build())
.name("string")
.status("string")
.timeouts(FormTypeTimeoutsArgs.builder()
.create("string")
.build())
.build());
form_type_resource = aws.datazone.FormType("formTypeResource",
domain_identifier="string",
owning_project_identifier="string",
description="string",
model={
"smithy": "string",
},
name="string",
status="string",
timeouts={
"create": "string",
})
const formTypeResource = new aws.datazone.FormType("formTypeResource", {
domainIdentifier: "string",
owningProjectIdentifier: "string",
description: "string",
model: {
smithy: "string",
},
name: "string",
status: "string",
timeouts: {
create: "string",
},
});
type: aws:datazone:FormType
properties:
description: string
domainIdentifier: string
model:
smithy: string
name: string
owningProjectIdentifier: string
status: string
timeouts:
create: string
FormType 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 FormType resource accepts the following input properties:
- Domain
Identifier string - Identifier of the domain.
- Owning
Project stringIdentifier - Identifier of project that owns the form type. Must follow regex of ^[a-zA-Z0-9_-]{1,36}.
- Description string
- Description of form type. Must have a length of between 1 and 2048 characters.
- Model
Form
Type Model - Object of the model of the form type that contains the following attributes.
- Name string
- Name of the form type. Must be the name of the structure in smithy document.
- Status string
- Timeouts
Form
Type Timeouts
- Domain
Identifier string - Identifier of the domain.
- Owning
Project stringIdentifier - Identifier of project that owns the form type. Must follow regex of ^[a-zA-Z0-9_-]{1,36}.
- Description string
- Description of form type. Must have a length of between 1 and 2048 characters.
- Model
Form
Type Model Args - Object of the model of the form type that contains the following attributes.
- Name string
- Name of the form type. Must be the name of the structure in smithy document.
- Status string
- Timeouts
Form
Type Timeouts Args
- domain
Identifier String - Identifier of the domain.
- owning
Project StringIdentifier - Identifier of project that owns the form type. Must follow regex of ^[a-zA-Z0-9_-]{1,36}.
- description String
- Description of form type. Must have a length of between 1 and 2048 characters.
- model
Form
Type Model - Object of the model of the form type that contains the following attributes.
- name String
- Name of the form type. Must be the name of the structure in smithy document.
- status String
- timeouts
Form
Type Timeouts
- domain
Identifier string - Identifier of the domain.
- owning
Project stringIdentifier - Identifier of project that owns the form type. Must follow regex of ^[a-zA-Z0-9_-]{1,36}.
- description string
- Description of form type. Must have a length of between 1 and 2048 characters.
- model
Form
Type Model - Object of the model of the form type that contains the following attributes.
- name string
- Name of the form type. Must be the name of the structure in smithy document.
- status string
- timeouts
Form
Type Timeouts
- domain_
identifier str - Identifier of the domain.
- owning_
project_ stridentifier - Identifier of project that owns the form type. Must follow regex of ^[a-zA-Z0-9_-]{1,36}.
- description str
- Description of form type. Must have a length of between 1 and 2048 characters.
- model
Form
Type Model Args - Object of the model of the form type that contains the following attributes.
- name str
- Name of the form type. Must be the name of the structure in smithy document.
- status str
- timeouts
Form
Type Timeouts Args
- domain
Identifier String - Identifier of the domain.
- owning
Project StringIdentifier - Identifier of project that owns the form type. Must follow regex of ^[a-zA-Z0-9_-]{1,36}.
- description String
- Description of form type. Must have a length of between 1 and 2048 characters.
- model Property Map
- Object of the model of the form type that contains the following attributes.
- name String
- Name of the form type. Must be the name of the structure in smithy document.
- status String
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the FormType resource produces the following output properties:
- Created
At string - Creation time of the Form Type.
- Created
By string - Creator of the Form Type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Imports
List<Form
Type Import> - Origin
Domain stringId - Origin domain id of the Form Type.
- Origin
Project stringId - Origin project id of the Form Type.
- Revision string
- Revision of the Form Type.
- Created
At string - Creation time of the Form Type.
- Created
By string - Creator of the Form Type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Imports
[]Form
Type Import - Origin
Domain stringId - Origin domain id of the Form Type.
- Origin
Project stringId - Origin project id of the Form Type.
- Revision string
- Revision of the Form Type.
- created
At String - Creation time of the Form Type.
- created
By String - Creator of the Form Type.
- id String
- The provider-assigned unique ID for this managed resource.
- imports
List<Form
Type Import> - origin
Domain StringId - Origin domain id of the Form Type.
- origin
Project StringId - Origin project id of the Form Type.
- revision String
- Revision of the Form Type.
- created
At string - Creation time of the Form Type.
- created
By string - Creator of the Form Type.
- id string
- The provider-assigned unique ID for this managed resource.
- imports
Form
Type Import[] - origin
Domain stringId - Origin domain id of the Form Type.
- origin
Project stringId - Origin project id of the Form Type.
- revision string
- Revision of the Form Type.
- created_
at str - Creation time of the Form Type.
- created_
by str - Creator of the Form Type.
- id str
- The provider-assigned unique ID for this managed resource.
- imports
Sequence[Form
Type Import] - origin_
domain_ strid - Origin domain id of the Form Type.
- origin_
project_ strid - Origin project id of the Form Type.
- revision str
- Revision of the Form Type.
- created
At String - Creation time of the Form Type.
- created
By String - Creator of the Form Type.
- id String
- The provider-assigned unique ID for this managed resource.
- imports List<Property Map>
- origin
Domain StringId - Origin domain id of the Form Type.
- origin
Project StringId - Origin project id of the Form Type.
- revision String
- Revision of the Form Type.
Look up Existing FormType Resource
Get an existing FormType 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?: FormTypeState, opts?: CustomResourceOptions): FormType
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
description: Optional[str] = None,
domain_identifier: Optional[str] = None,
imports: Optional[Sequence[FormTypeImportArgs]] = None,
model: Optional[FormTypeModelArgs] = None,
name: Optional[str] = None,
origin_domain_id: Optional[str] = None,
origin_project_id: Optional[str] = None,
owning_project_identifier: Optional[str] = None,
revision: Optional[str] = None,
status: Optional[str] = None,
timeouts: Optional[FormTypeTimeoutsArgs] = None) -> FormType
func GetFormType(ctx *Context, name string, id IDInput, state *FormTypeState, opts ...ResourceOption) (*FormType, error)
public static FormType Get(string name, Input<string> id, FormTypeState? state, CustomResourceOptions? opts = null)
public static FormType get(String name, Output<String> id, FormTypeState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Created
At string - Creation time of the Form Type.
- Created
By string - Creator of the Form Type.
- Description string
- Description of form type. Must have a length of between 1 and 2048 characters.
- Domain
Identifier string - Identifier of the domain.
- Imports
List<Form
Type Import> - Model
Form
Type Model - Object of the model of the form type that contains the following attributes.
- Name string
- Name of the form type. Must be the name of the structure in smithy document.
- Origin
Domain stringId - Origin domain id of the Form Type.
- Origin
Project stringId - Origin project id of the Form Type.
- Owning
Project stringIdentifier - Identifier of project that owns the form type. Must follow regex of ^[a-zA-Z0-9_-]{1,36}.
- Revision string
- Revision of the Form Type.
- Status string
- Timeouts
Form
Type Timeouts
- Created
At string - Creation time of the Form Type.
- Created
By string - Creator of the Form Type.
- Description string
- Description of form type. Must have a length of between 1 and 2048 characters.
- Domain
Identifier string - Identifier of the domain.
- Imports
[]Form
Type Import Args - Model
Form
Type Model Args - Object of the model of the form type that contains the following attributes.
- Name string
- Name of the form type. Must be the name of the structure in smithy document.
- Origin
Domain stringId - Origin domain id of the Form Type.
- Origin
Project stringId - Origin project id of the Form Type.
- Owning
Project stringIdentifier - Identifier of project that owns the form type. Must follow regex of ^[a-zA-Z0-9_-]{1,36}.
- Revision string
- Revision of the Form Type.
- Status string
- Timeouts
Form
Type Timeouts Args
- created
At String - Creation time of the Form Type.
- created
By String - Creator of the Form Type.
- description String
- Description of form type. Must have a length of between 1 and 2048 characters.
- domain
Identifier String - Identifier of the domain.
- imports
List<Form
Type Import> - model
Form
Type Model - Object of the model of the form type that contains the following attributes.
- name String
- Name of the form type. Must be the name of the structure in smithy document.
- origin
Domain StringId - Origin domain id of the Form Type.
- origin
Project StringId - Origin project id of the Form Type.
- owning
Project StringIdentifier - Identifier of project that owns the form type. Must follow regex of ^[a-zA-Z0-9_-]{1,36}.
- revision String
- Revision of the Form Type.
- status String
- timeouts
Form
Type Timeouts
- created
At string - Creation time of the Form Type.
- created
By string - Creator of the Form Type.
- description string
- Description of form type. Must have a length of between 1 and 2048 characters.
- domain
Identifier string - Identifier of the domain.
- imports
Form
Type Import[] - model
Form
Type Model - Object of the model of the form type that contains the following attributes.
- name string
- Name of the form type. Must be the name of the structure in smithy document.
- origin
Domain stringId - Origin domain id of the Form Type.
- origin
Project stringId - Origin project id of the Form Type.
- owning
Project stringIdentifier - Identifier of project that owns the form type. Must follow regex of ^[a-zA-Z0-9_-]{1,36}.
- revision string
- Revision of the Form Type.
- status string
- timeouts
Form
Type Timeouts
- created_
at str - Creation time of the Form Type.
- created_
by str - Creator of the Form Type.
- description str
- Description of form type. Must have a length of between 1 and 2048 characters.
- domain_
identifier str - Identifier of the domain.
- imports
Sequence[Form
Type Import Args] - model
Form
Type Model Args - Object of the model of the form type that contains the following attributes.
- name str
- Name of the form type. Must be the name of the structure in smithy document.
- origin_
domain_ strid - Origin domain id of the Form Type.
- origin_
project_ strid - Origin project id of the Form Type.
- owning_
project_ stridentifier - Identifier of project that owns the form type. Must follow regex of ^[a-zA-Z0-9_-]{1,36}.
- revision str
- Revision of the Form Type.
- status str
- timeouts
Form
Type Timeouts Args
- created
At String - Creation time of the Form Type.
- created
By String - Creator of the Form Type.
- description String
- Description of form type. Must have a length of between 1 and 2048 characters.
- domain
Identifier String - Identifier of the domain.
- imports List<Property Map>
- model Property Map
- Object of the model of the form type that contains the following attributes.
- name String
- Name of the form type. Must be the name of the structure in smithy document.
- origin
Domain StringId - Origin domain id of the Form Type.
- origin
Project StringId - Origin project id of the Form Type.
- owning
Project StringIdentifier - Identifier of project that owns the form type. Must follow regex of ^[a-zA-Z0-9_-]{1,36}.
- revision String
- Revision of the Form Type.
- status String
- timeouts Property Map
Supporting Types
FormTypeImport, FormTypeImportArgs
FormTypeModel, FormTypeModelArgs
- Smithy string
Smithy document that indicates the model of the API. Must be between the lengths 1 and 100,000 and be encoded as a smithy document.
The following arguments are optional:
- Smithy string
Smithy document that indicates the model of the API. Must be between the lengths 1 and 100,000 and be encoded as a smithy document.
The following arguments are optional:
- smithy String
Smithy document that indicates the model of the API. Must be between the lengths 1 and 100,000 and be encoded as a smithy document.
The following arguments are optional:
- smithy string
Smithy document that indicates the model of the API. Must be between the lengths 1 and 100,000 and be encoded as a smithy document.
The following arguments are optional:
- smithy str
Smithy document that indicates the model of the API. Must be between the lengths 1 and 100,000 and be encoded as a smithy document.
The following arguments are optional:
- smithy String
Smithy document that indicates the model of the API. Must be between the lengths 1 and 100,000 and be encoded as a smithy document.
The following arguments are optional:
FormTypeTimeouts, FormTypeTimeoutsArgs
- 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).
Import
Using pulumi import
, import DataZone Form Type using a comma separated value of domain_identifier
,name
,revision
. For example:
$ pulumi import aws:datazone/formType:FormType example domain_identifier,name,revision
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.