DomainArgs

data class DomainArgs(val description: Output<String>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val workflowExecutionRetentionPeriodInDays: Output<String>? = null) : ConvertibleToJava<DomainArgs>

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());
}
}

Import

SWF Domains can be imported using the name, e.g.,

$ pulumi import aws:swf/domain:Domain foo test-domain

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, name: Output<String>? = null, namePrefix: Output<String>? = null, tags: Output<Map<String, String>>? = null, workflowExecutionRetentionPeriodInDays: Output<String>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

The domain description.

Link copied to clipboard
val name: Output<String>? = null

The name of the domain. If omitted, this provider will assign a random, unique name.

Link copied to clipboard
val namePrefix: Output<String>? = null

Creates a unique name beginning with the specified prefix. Conflicts with name.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value map of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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.

Functions

Link copied to clipboard
open override fun toJava(): DomainArgs