Container for the parameters to the RegisterDomain operation.
Registers a new domain.
Access Control
You can use IAM policies to control this action's access to Amazon SWF resources as follows:
- You cannot use an IAM policy to control domain access for this action. The name of the domain being registered is available as the resource of this action.
- Use an Action element to allow or deny permission to call this action.
- You cannot use an IAM policy to constrain this action's parameters.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails by throwing OperationNotPermitted . For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

C# |
public class RegisterDomainRequest : AmazonWebServiceRequest

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | RegisterDomainRequest()()()() | Initializes a new instance of the RegisterDomainRequest class |
![]() | Description |
Textual description of the domain.
Constraints: |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | Name |
Name of the domain to register. The name must be unique. The specified string must not start or end with whitespace. It must not contain a
: (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not
contain the literal string "arn".
Constraints: |
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WithDescription(String) | Obsolete.
Sets the Description property
|
![]() | WithName(String) | Obsolete.
Sets the Name property
|
![]() | WithWorkflowExecutionRetentionPeriodInDays(String) | Obsolete.
Sets the WorkflowExecutionRetentionPeriodInDays property
|
![]() | WorkflowExecutionRetentionPeriodInDays |
A duration (in days) for which the record (including the history) of workflow executions in this domain should be kept by the service. After
the retention period, the workflow execution will not be available in the results of visibility calls. If you pass the value NONE
then there is no expiration for workflow execution history (effectively an infinite retention period).
Constraints: |

Object | ||
![]() | AmazonWebServiceRequest | |
![]() | RegisterDomainRequest |