published on Monday, Apr 27, 2026 by akeyless-community
published on Monday, Apr 27, 2026 by akeyless-community
AWS Migration resource
Create GatewayMigrationAws Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayMigrationAws(name: string, args: GatewayMigrationAwsArgs, opts?: CustomResourceOptions);@overload
def GatewayMigrationAws(resource_name: str,
args: GatewayMigrationAwsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayMigrationAws(resource_name: str,
opts: Optional[ResourceOptions] = None,
target_location: Optional[str] = None,
aws_key: Optional[str] = None,
aws_key_id: Optional[str] = None,
aws_region: Optional[str] = None,
gateway_migration_aws_id: Optional[str] = None,
name: Optional[str] = None,
protection_key: Optional[str] = None)func NewGatewayMigrationAws(ctx *Context, name string, args GatewayMigrationAwsArgs, opts ...ResourceOption) (*GatewayMigrationAws, error)public GatewayMigrationAws(string name, GatewayMigrationAwsArgs args, CustomResourceOptions? opts = null)
public GatewayMigrationAws(String name, GatewayMigrationAwsArgs args)
public GatewayMigrationAws(String name, GatewayMigrationAwsArgs args, CustomResourceOptions options)
type: akeyless:GatewayMigrationAws
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GatewayMigrationAwsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GatewayMigrationAwsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GatewayMigrationAwsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayMigrationAwsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayMigrationAwsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var gatewayMigrationAwsResource = new Akeyless.GatewayMigrationAws("gatewayMigrationAwsResource", new()
{
TargetLocation = "string",
AwsKey = "string",
AwsKeyId = "string",
AwsRegion = "string",
GatewayMigrationAwsId = "string",
Name = "string",
ProtectionKey = "string",
});
example, err := akeyless.NewGatewayMigrationAws(ctx, "gatewayMigrationAwsResource", &akeyless.GatewayMigrationAwsArgs{
TargetLocation: pulumi.String("string"),
AwsKey: pulumi.String("string"),
AwsKeyId: pulumi.String("string"),
AwsRegion: pulumi.String("string"),
GatewayMigrationAwsId: pulumi.String("string"),
Name: pulumi.String("string"),
ProtectionKey: pulumi.String("string"),
})
var gatewayMigrationAwsResource = new GatewayMigrationAws("gatewayMigrationAwsResource", GatewayMigrationAwsArgs.builder()
.targetLocation("string")
.awsKey("string")
.awsKeyId("string")
.awsRegion("string")
.gatewayMigrationAwsId("string")
.name("string")
.protectionKey("string")
.build());
gateway_migration_aws_resource = akeyless.GatewayMigrationAws("gatewayMigrationAwsResource",
target_location="string",
aws_key="string",
aws_key_id="string",
aws_region="string",
gateway_migration_aws_id="string",
name="string",
protection_key="string")
const gatewayMigrationAwsResource = new akeyless.GatewayMigrationAws("gatewayMigrationAwsResource", {
targetLocation: "string",
awsKey: "string",
awsKeyId: "string",
awsRegion: "string",
gatewayMigrationAwsId: "string",
name: "string",
protectionKey: "string",
});
type: akeyless:GatewayMigrationAws
properties:
awsKey: string
awsKeyId: string
awsRegion: string
gatewayMigrationAwsId: string
name: string
protectionKey: string
targetLocation: string
GatewayMigrationAws Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GatewayMigrationAws resource accepts the following input properties:
- Target
Location string - Target location in Akeyless for imported secrets
- Aws
Key string - AWS Secret Access Key (relevant only for AWS migration)
- Aws
Key stringId - AWS Access Key ID with sufficient permissions to get all secrets, e.g. 'arn:aws:secretsmanager:[Region]:[AccountId]:secret:[/path/to/secrets/_*]' (relevant only for AWS migration)
- Aws
Region string - AWS region of the required Secrets Manager (relevant only for AWS migration)
- Gateway
Migration stringAws Id - The ID of this resource.
- Name string
- Migration name
- Protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- Target
Location string - Target location in Akeyless for imported secrets
- Aws
Key string - AWS Secret Access Key (relevant only for AWS migration)
- Aws
Key stringId - AWS Access Key ID with sufficient permissions to get all secrets, e.g. 'arn:aws:secretsmanager:[Region]:[AccountId]:secret:[/path/to/secrets/_*]' (relevant only for AWS migration)
- Aws
Region string - AWS region of the required Secrets Manager (relevant only for AWS migration)
- Gateway
Migration stringAws Id - The ID of this resource.
- Name string
- Migration name
- Protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location String - Target location in Akeyless for imported secrets
- aws
Key String - AWS Secret Access Key (relevant only for AWS migration)
- aws
Key StringId - AWS Access Key ID with sufficient permissions to get all secrets, e.g. 'arn:aws:secretsmanager:[Region]:[AccountId]:secret:[/path/to/secrets/_*]' (relevant only for AWS migration)
- aws
Region String - AWS region of the required Secrets Manager (relevant only for AWS migration)
- gateway
Migration StringAws Id - The ID of this resource.
- name String
- Migration name
- protection
Key String - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location string - Target location in Akeyless for imported secrets
- aws
Key string - AWS Secret Access Key (relevant only for AWS migration)
- aws
Key stringId - AWS Access Key ID with sufficient permissions to get all secrets, e.g. 'arn:aws:secretsmanager:[Region]:[AccountId]:secret:[/path/to/secrets/_*]' (relevant only for AWS migration)
- aws
Region string - AWS region of the required Secrets Manager (relevant only for AWS migration)
- gateway
Migration stringAws Id - The ID of this resource.
- name string
- Migration name
- protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target_
location str - Target location in Akeyless for imported secrets
- aws_
key str - AWS Secret Access Key (relevant only for AWS migration)
- aws_
key_ strid - AWS Access Key ID with sufficient permissions to get all secrets, e.g. 'arn:aws:secretsmanager:[Region]:[AccountId]:secret:[/path/to/secrets/_*]' (relevant only for AWS migration)
- aws_
region str - AWS region of the required Secrets Manager (relevant only for AWS migration)
- gateway_
migration_ straws_ id - The ID of this resource.
- name str
- Migration name
- protection_
key str - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location String - Target location in Akeyless for imported secrets
- aws
Key String - AWS Secret Access Key (relevant only for AWS migration)
- aws
Key StringId - AWS Access Key ID with sufficient permissions to get all secrets, e.g. 'arn:aws:secretsmanager:[Region]:[AccountId]:secret:[/path/to/secrets/_*]' (relevant only for AWS migration)
- aws
Region String - AWS region of the required Secrets Manager (relevant only for AWS migration)
- gateway
Migration StringAws Id - The ID of this resource.
- name String
- Migration name
- protection
Key String - The name of the key that protects the classic key value (if empty, the account default key will be used)
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayMigrationAws resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Migration
Id string - Migration ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Migration
Id string - Migration ID
- id String
- The provider-assigned unique ID for this managed resource.
- migration
Id String - Migration ID
- id string
- The provider-assigned unique ID for this managed resource.
- migration
Id string - Migration ID
- id str
- The provider-assigned unique ID for this managed resource.
- migration_
id str - Migration ID
- id String
- The provider-assigned unique ID for this managed resource.
- migration
Id String - Migration ID
Look up Existing GatewayMigrationAws Resource
Get an existing GatewayMigrationAws resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GatewayMigrationAwsState, opts?: CustomResourceOptions): GatewayMigrationAws@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aws_key: Optional[str] = None,
aws_key_id: Optional[str] = None,
aws_region: Optional[str] = None,
gateway_migration_aws_id: Optional[str] = None,
migration_id: Optional[str] = None,
name: Optional[str] = None,
protection_key: Optional[str] = None,
target_location: Optional[str] = None) -> GatewayMigrationAwsfunc GetGatewayMigrationAws(ctx *Context, name string, id IDInput, state *GatewayMigrationAwsState, opts ...ResourceOption) (*GatewayMigrationAws, error)public static GatewayMigrationAws Get(string name, Input<string> id, GatewayMigrationAwsState? state, CustomResourceOptions? opts = null)public static GatewayMigrationAws get(String name, Output<String> id, GatewayMigrationAwsState state, CustomResourceOptions options)resources: _: type: akeyless:GatewayMigrationAws get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Aws
Key string - AWS Secret Access Key (relevant only for AWS migration)
- Aws
Key stringId - AWS Access Key ID with sufficient permissions to get all secrets, e.g. 'arn:aws:secretsmanager:[Region]:[AccountId]:secret:[/path/to/secrets/_*]' (relevant only for AWS migration)
- Aws
Region string - AWS region of the required Secrets Manager (relevant only for AWS migration)
- Gateway
Migration stringAws Id - The ID of this resource.
- Migration
Id string - Migration ID
- Name string
- Migration name
- Protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- Target
Location string - Target location in Akeyless for imported secrets
- Aws
Key string - AWS Secret Access Key (relevant only for AWS migration)
- Aws
Key stringId - AWS Access Key ID with sufficient permissions to get all secrets, e.g. 'arn:aws:secretsmanager:[Region]:[AccountId]:secret:[/path/to/secrets/_*]' (relevant only for AWS migration)
- Aws
Region string - AWS region of the required Secrets Manager (relevant only for AWS migration)
- Gateway
Migration stringAws Id - The ID of this resource.
- Migration
Id string - Migration ID
- Name string
- Migration name
- Protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- Target
Location string - Target location in Akeyless for imported secrets
- aws
Key String - AWS Secret Access Key (relevant only for AWS migration)
- aws
Key StringId - AWS Access Key ID with sufficient permissions to get all secrets, e.g. 'arn:aws:secretsmanager:[Region]:[AccountId]:secret:[/path/to/secrets/_*]' (relevant only for AWS migration)
- aws
Region String - AWS region of the required Secrets Manager (relevant only for AWS migration)
- gateway
Migration StringAws Id - The ID of this resource.
- migration
Id String - Migration ID
- name String
- Migration name
- protection
Key String - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location String - Target location in Akeyless for imported secrets
- aws
Key string - AWS Secret Access Key (relevant only for AWS migration)
- aws
Key stringId - AWS Access Key ID with sufficient permissions to get all secrets, e.g. 'arn:aws:secretsmanager:[Region]:[AccountId]:secret:[/path/to/secrets/_*]' (relevant only for AWS migration)
- aws
Region string - AWS region of the required Secrets Manager (relevant only for AWS migration)
- gateway
Migration stringAws Id - The ID of this resource.
- migration
Id string - Migration ID
- name string
- Migration name
- protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location string - Target location in Akeyless for imported secrets
- aws_
key str - AWS Secret Access Key (relevant only for AWS migration)
- aws_
key_ strid - AWS Access Key ID with sufficient permissions to get all secrets, e.g. 'arn:aws:secretsmanager:[Region]:[AccountId]:secret:[/path/to/secrets/_*]' (relevant only for AWS migration)
- aws_
region str - AWS region of the required Secrets Manager (relevant only for AWS migration)
- gateway_
migration_ straws_ id - The ID of this resource.
- migration_
id str - Migration ID
- name str
- Migration name
- protection_
key str - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target_
location str - Target location in Akeyless for imported secrets
- aws
Key String - AWS Secret Access Key (relevant only for AWS migration)
- aws
Key StringId - AWS Access Key ID with sufficient permissions to get all secrets, e.g. 'arn:aws:secretsmanager:[Region]:[AccountId]:secret:[/path/to/secrets/_*]' (relevant only for AWS migration)
- aws
Region String - AWS region of the required Secrets Manager (relevant only for AWS migration)
- gateway
Migration StringAws Id - The ID of this resource.
- migration
Id String - Migration ID
- name String
- Migration name
- protection
Key String - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location String - Target location in Akeyless for imported secrets
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeylessTerraform Provider.
published on Monday, Apr 27, 2026 by akeyless-community
