import * as core from "@terrascript/core"; export interface FilterArgs extends core.SchemaArgs { name: string | core.StringOut; values: core.Array | core.ArrayOut; } export class Filter extends core.Schema { @core.attr(String) public name!: string | core.StringOut; @core.attr(String, { kind: "array" }) public values!: core.Array | core.ArrayOut; } export interface DsEc2NetworkInsightsPathArgs { /** * (Optional) Configuration block(s) for filtering. Detailed below. */ filter?: core.Array | core.ArrayOut; /** * (Optional) The ID of the Network Insights Path to select. */ networkInsightsPathId?: string | core.StringOut; /** * A map of tags assigned to the resource. */ tags?: core.Map | core.MapOut; } export class DsEc2NetworkInsightsPath extends core.Data { /** * The ARN of the selected Network Insights Path. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The AWS resource that is the destination of the path. */ @core.attr(String, { computed: true }) public destination!: string | core.StringOut; /** * The IP address of the AWS resource that is the destination of the path. */ @core.attr(String, { computed: true }) public destinationIp!: string | core.StringOut; /** * The destination port. */ @core.attr(Number, { computed: true }) public destinationPort!: number | core.NumberOut; /** * (Optional) Configuration block(s) for filtering. Detailed below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The ID of the Network Insights Path to select. */ @core.attr(String, { computed: true }) public networkInsightsPathId?: string | core.StringOut; /** * The protocol. */ @core.attr(String, { computed: true }) public protocol!: string | core.StringOut; /** * The AWS resource that is the source of the path. */ @core.attr(String, { computed: true }) public source!: string | core.StringOut; /** * The IP address of the AWS resource that is the source of the path. */ @core.attr(String, { computed: true }) public sourceIp!: string | core.StringOut; /** * A map of tags assigned to the resource. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsEc2NetworkInsightsPathArgs) { super(name, "aws_ec2_network_insights_path", args); } public override getNamespace(): string { return "aws_vpc"; } }