AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateFacet operation. Creates a new Facet in a schema. Facet creation is allowed only in development or applied schemas.

Inheritance Hierarchy


Namespace: Amazon.CloudDirectory.Model
Assembly: AWSSDK.CloudDirectory.dll
Version: 3.x.y.z


public class CreateFacetRequest : AmazonCloudDirectoryRequest

The CreateFacetRequest type exposes the following members


Public Method CreateFacetRequest()


Public Property Attributes System.Collections.Generic.List<Amazon.CloudDirectory.Model.FacetAttribute>

Gets and sets the property Attributes.

The attributes that are associated with the Facet.

Public Property FacetStyle Amazon.CloudDirectory.FacetStyle

Gets and sets the property FacetStyle.

There are two different styles that you can define on any given facet, Static and Dynamic. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.

Public Property Name System.String

Gets and sets the property Name.

The name of the Facet, which is unique for a given schema.

Public Property ObjectType Amazon.CloudDirectory.ObjectType

Gets and sets the property ObjectType.

Specifies whether a given object created from this facet is of type node, leaf node, policy or index.

  • Node: Can have multiple children but one parent.

  • Leaf node: Cannot have children but can have multiple parents.

  • Policy: Allows you to store a policy document and policy type. For more information, see Policies.

  • Index: Can be created with the Index API.

Public Property SchemaArn System.String

Gets and sets the property SchemaArn.

The schema ARN in which the new Facet will be created. For more information, see arns.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms