Domain
Provides an SWF Domain resource.
Example Usage
To register a basic SWF domain:
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.swf.Domain;
import com.pulumi.aws.swf.DomainArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo = new Domain("foo", DomainArgs.builder()
.description("SWF Domain")
.workflowExecutionRetentionPeriodInDays(30)
.build());
}
}
Content copied to clipboard
Import
SWF Domains can be imported using the name
, e.g.,
$ pulumi import aws:swf/domain:Domain foo test-domain
Content copied to clipboard
Properties
Link copied to clipboard
The domain description.
Link copied to clipboard
Creates a unique name beginning with the specified prefix. Conflicts with name
.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Length of time that SWF will continue to retain information about the workflow execution after the workflow execution is complete, must be between 0 and 90 days.