PolicyTable

class PolicyTable : KotlinCustomResource

Manages an EC2 Transit Gateway Policy Table.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2transitgateway.PolicyTable;
import com.pulumi.aws.ec2transitgateway.PolicyTableArgs;
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 example = new PolicyTable("example", PolicyTableArgs.builder()
.transitGatewayId(aws_ec2_transit_gateway.example().id())
.tags(Map.of("Name", "Example Policy Table"))
.build());
}
}

Import

aws_ec2_transit_gateway_policy_table can be imported by using the EC2 Transit Gateway Policy Table identifier, e.g.,

$ pulumi import aws:ec2transitgateway/policyTable:PolicyTable example tgw-rtb-12345678

Properties

Link copied to clipboard
val arn: Output<String>

EC2 Transit Gateway Policy Table Amazon Resource Name (ARN).

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val state: Output<String>

The state of the EC2 Transit Gateway Policy Table.

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

Key-value tags for the EC2 Transit Gateway Policy Table. 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
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard

EC2 Transit Gateway identifier.

Link copied to clipboard
val urn: Output<String>