import * as core from "@terrascript/core"; export interface Ec2TrafficMirrorTargetArgs extends core.ResourceArgs { /** * (Optional, Forces new) A description of the traffic mirror session. */ description?: string | core.StringOut; /** * (Optional, Forces new) The network interface ID that is associated with the target. */ networkInterfaceId?: string | core.StringOut; /** * (Optional, Forces new) The Amazon Resource Name (ARN) of the Network Load Balancer that is associate * d with the target. */ networkLoadBalancerArn?: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class Ec2TrafficMirrorTarget extends core.Resource { /** * The ARN of the traffic mirror target. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional, Forces new) A description of the traffic mirror session. */ @core.attr(String) public description?: string | core.StringOut; /** * The ID of the Traffic Mirror target. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional, Forces new) The network interface ID that is associated with the target. */ @core.attr(String) public networkInterfaceId?: string | core.StringOut; /** * (Optional, Forces new) The Amazon Resource Name (ARN) of the Network Load Balancer that is associate * d with the target. */ @core.attr(String) public networkLoadBalancerArn?: string | core.StringOut; /** * The ID of the AWS account that owns the traffic mirror target. */ @core.attr(String, { computed: true }) public ownerId!: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: Ec2TrafficMirrorTargetArgs) { super(name, "aws_ec2_traffic_mirror_target", args); } public override getNamespace(): string { return "aws_vpc"; } }