Registers a new domain.
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.
public class RegisterDomainRequest : AmazonWebServiceRequest
Initializes a new instance of theclass
Textual description of the domain.
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the type of the current instance.(Inherited from Object.)
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".
Returns a string that represents the current object.(Inherited from Object.)
Sets the Description property
Sets the Name property
Sets the WorkflowExecutionRetentionPeriodInDays property
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).