import * as pulumi from "@pulumi/pulumi"; /** * Associates a routing policy label to a Network Manager Cloud WAN's attachment outside of the attachment creation. This is useful in multi-account environments where only the Cloud WAN core network owner account can apply a routing policy label. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.networkmanager.AttachmentRoutingPolicyLabel("example", { * coreNetworkId: exampleAwsNetworkmanagerCoreNetwork.id, * attachmentId: exampleAwsNetworkmanagerVpcAttachment.id, * routingPolicyLabel: "attachmentPolicyLabel", * }); * ``` * * ## Import * * Using `pulumi import`, import `aws.networkmanager.AttachmentRoutingPolicyLabel` using the core network ID and attachment ID separated by a comma (`,`). For example: * * ```sh * $ pulumi import aws:networkmanager/attachmentRoutingPolicyLabel:AttachmentRoutingPolicyLabel example core-network-0fab1c1e1e1e1e1e1,attachment-0fab2c2e2e2e2e2e2 * ``` */ export declare class AttachmentRoutingPolicyLabel extends pulumi.CustomResource { /** * Get an existing AttachmentRoutingPolicyLabel resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AttachmentRoutingPolicyLabelState, opts?: pulumi.CustomResourceOptions): AttachmentRoutingPolicyLabel; /** * Returns true if the given object is an instance of AttachmentRoutingPolicyLabel. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AttachmentRoutingPolicyLabel; /** * The ID of the attachment to apply the routing policy label to. */ readonly attachmentId: pulumi.Output; /** * The ID of the core network containing the attachment. */ readonly coreNetworkId: pulumi.Output; /** * The routing policy label to apply to the attachment. */ readonly routingPolicyLabel: pulumi.Output; /** * Create a AttachmentRoutingPolicyLabel resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AttachmentRoutingPolicyLabelArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AttachmentRoutingPolicyLabel resources. */ export interface AttachmentRoutingPolicyLabelState { /** * The ID of the attachment to apply the routing policy label to. */ attachmentId?: pulumi.Input; /** * The ID of the core network containing the attachment. */ coreNetworkId?: pulumi.Input; /** * The routing policy label to apply to the attachment. */ routingPolicyLabel?: pulumi.Input; } /** * The set of arguments for constructing a AttachmentRoutingPolicyLabel resource. */ export interface AttachmentRoutingPolicyLabelArgs { /** * The ID of the attachment to apply the routing policy label to. */ attachmentId: pulumi.Input; /** * The ID of the core network containing the attachment. */ coreNetworkId: pulumi.Input; /** * The routing policy label to apply to the attachment. */ routingPolicyLabel: pulumi.Input; } //# sourceMappingURL=attachmentRoutingPolicyLabel.d.ts.map