Skip to content
v2.277.0

CfnFormTypeProps Struct ​

Properties for defining a CfnFormType.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const cfnFormTypeProps: datazone.CfnFormTypeProps = {
  domainIdentifier: 'domainIdentifier',
  model: {
    smithy: 'smithy',
  },
  name: 'name',
  owningProjectIdentifier: 'owningProjectIdentifier',

  // the properties below are optional
  description: 'description',
  status: 'status',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_datazone as datazone

cfn_form_type_props = datazone.CfnFormTypeProps(
    domain_identifier="domainIdentifier",
    model=datazone.CfnFormType.ModelProperty(
        smithy="smithy"
    ),
    name="name",
    owning_project_identifier="owningProjectIdentifier",

    # the properties below are optional
    description="description",
    status="status"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.datazone.*;

CfnFormTypeProps cfnFormTypeProps = CfnFormTypeProps.builder()
        .domainIdentifier("domainIdentifier")
        .model(ModelProperty.builder()
                .smithy("smithy")
                .build())
        .name("name")
        .owningProjectIdentifier("owningProjectIdentifier")

        // the properties below are optional
        .description("description")
        .status("status")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataZone;

var cfnFormTypeProps = new CfnFormTypeProps {
    DomainIdentifier = "domainIdentifier",
    Model = new ModelProperty {
        Smithy = "smithy"
    },
    Name = "name",
    OwningProjectIdentifier = "owningProjectIdentifier",

    // the properties below are optional
    Description = "description",
    Status = "status"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnFormTypeProps := &CfnFormTypeProps{
	DomainIdentifier: jsii.String("domainIdentifier"),
	Model: &ModelProperty{
		Smithy: jsii.String("smithy"),
	},
	Name: jsii.String("name"),
	OwningProjectIdentifier: jsii.String("owningProjectIdentifier"),

	// the properties below are optional
	Description: jsii.String("description"),
	Status: jsii.String("status"),
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description of the metadata form type.
domainIdentifierstringdomain_identifierstrdomainIdentifierStringDomainIdentifierstringDomainIdentifier*stringrequired#
The identifier of the Amazon DataZone domain in which the form type exists.
modelIResolvable | CfnFormType.ModelPropertymodeltyping.Union[IResolvable, ModelProperty]modelIResolvableModelIResolvableModelinterface{}required#
The model of the form type.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the form type.
owningProjectIdentifierstringowning_project_identifierstrowningProjectIdentifierStringOwningProjectIdentifierstringOwningProjectIdentifier*stringrequired#
The identifier of the project that owns the form type.
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string#
The status of the form type.