import * as pulumi from "@pulumi/pulumi"; /** * Manages an AWS DMS (Database Migration) Instance Profile. An instance profile provides network and encryption information to DMS Schema Conversion for use in connecting to a data provider. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.dms.InstanceProfile("example", {name: "example"}); * ``` * * ### With Networking Configuration * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.dms.InstanceProfile("example", { * name: "example", * description: "example instance profile", * networkType: "IPV4", * publiclyAccessible: false, * subnetGroupIdentifier: exampleAwsDmsReplicationSubnetGroup.id, * vpcSecurityGroupIds: [exampleAwsSecurityGroup.id], * kmsKeyArn: exampleAwsKmsKey.arn, * tags: { * Name: "example", * }, * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `arn` (String) ARN of the instance profile. * * Using `pulumi import`, import DMS (Database Migration) Instance Profile using the `arn`. For example: * * ```sh * $ pulumi import aws:dms/instanceProfile:InstanceProfile example arn:aws:dms:us-east-1:123456789012:instance-profile:ABCDEFGHIJKLMNOPQRSTUVWXYZ123456 * ``` */ export declare class InstanceProfile extends pulumi.CustomResource { /** * Get an existing InstanceProfile 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?: InstanceProfileState, opts?: pulumi.CustomResourceOptions): InstanceProfile; /** * Returns true if the given object is an instance of InstanceProfile. 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 InstanceProfile; /** * ARN of the instance profile. */ readonly arn: pulumi.Output; /** * Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone. */ readonly availabilityZone: pulumi.Output; /** * Description for the instance profile. */ readonly description: pulumi.Output; /** * ARN of the KMS key used to encrypt the connection parameters for the instance profile. If you don't specify a value, DMS uses your default encryption key. */ readonly kmsKeyArn: pulumi.Output; /** * Name for the instance profile. If omitted, DMS assigns a generated name. */ readonly name: pulumi.Output; /** * Network type for the instance profile. Valid values are `IPV4`, `IPV6`, and `DUAL`. */ readonly networkType: pulumi.Output; /** * Whether the instance profile is publicly accessible. Default is `true`. */ readonly publiclyAccessible: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * Subnet group to associate with the instance profile. */ readonly subnetGroupIdentifier: pulumi.Output; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile. */ readonly vpcSecurityGroupIds: pulumi.Output; /** * Create a InstanceProfile 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?: InstanceProfileArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering InstanceProfile resources. */ export interface InstanceProfileState { /** * ARN of the instance profile. */ arn?: pulumi.Input; /** * Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone. */ availabilityZone?: pulumi.Input; /** * Description for the instance profile. */ description?: pulumi.Input; /** * ARN of the KMS key used to encrypt the connection parameters for the instance profile. If you don't specify a value, DMS uses your default encryption key. */ kmsKeyArn?: pulumi.Input; /** * Name for the instance profile. If omitted, DMS assigns a generated name. */ name?: pulumi.Input; /** * Network type for the instance profile. Valid values are `IPV4`, `IPV6`, and `DUAL`. */ networkType?: pulumi.Input; /** * Whether the instance profile is publicly accessible. Default is `true`. */ publiclyAccessible?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Subnet group to associate with the instance profile. */ subnetGroupIdentifier?: pulumi.Input; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile. */ vpcSecurityGroupIds?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a InstanceProfile resource. */ export interface InstanceProfileArgs { /** * Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone. */ availabilityZone?: pulumi.Input; /** * Description for the instance profile. */ description?: pulumi.Input; /** * ARN of the KMS key used to encrypt the connection parameters for the instance profile. If you don't specify a value, DMS uses your default encryption key. */ kmsKeyArn?: pulumi.Input; /** * Name for the instance profile. If omitted, DMS assigns a generated name. */ name?: pulumi.Input; /** * Network type for the instance profile. Valid values are `IPV4`, `IPV6`, and `DUAL`. */ networkType?: pulumi.Input; /** * Whether the instance profile is publicly accessible. Default is `true`. */ publiclyAccessible?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Subnet group to associate with the instance profile. */ subnetGroupIdentifier?: pulumi.Input; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile. */ vpcSecurityGroupIds?: pulumi.Input[] | undefined>; } //# sourceMappingURL=instanceProfile.d.ts.map