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.
Namespace: Amazon.CloudDirectory.Model
Assembly: AWSSDK.CloudDirectory.dll
Version: 3.x.y.z
public class CreateFacetRequest : AmazonCloudDirectoryRequest IAmazonWebServiceRequest
The CreateFacetRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
CreateFacetRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
Attributes | System.Collections.Generic.List<Amazon.CloudDirectory.Model.FacetAttribute> |
Gets and sets the property Attributes. The attributes that are associated with the Facet. |
|
FacetStyle | Amazon.CloudDirectory.FacetStyle |
Gets and sets the property FacetStyle.
There are two different styles that you can define on any given facet, |
|
Name | System.String |
Gets and sets the property Name. The name of the Facet, which is unique for a given schema. |
|
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.
|
|
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. |
var client = new AmazonCloudDirectoryClient();
var response = client.CreateFacet(new CreateFacetRequest
{
Name = "node1",
ObjectType = "NODE",
SchemaArn = "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1"
});
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5