Class: Aws::DirectConnect::Types::AssociateMacSecKeyRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb

Overview

Note:

When making an API call, you may pass AssociateMacSecKeyRequest data as a hash:

{
  connection_id: "ConnectionId", # required
  secret_arn: "SecretARN",
  ckn: "Ckn",
  cak: "Cak",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cakString

The MAC Security (MACsec) CAK to associate with the dedicated connection.

You can create the CKN/CAK pair using an industry standard tool.

The valid values are 64 hexadecimal characters (0-9, A-E).

If you use this request parameter, you must use the ckn request parameter and not use the secretARN request parameter.

Returns:

  • (String)


449
450
451
452
453
454
455
456
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 449

class AssociateMacSecKeyRequest < Struct.new(
  :connection_id,
  :secret_arn,
  :ckn,
  :cak)
  SENSITIVE = []
  include Aws::Structure
end

#cknString

The MAC Security (MACsec) CKN to associate with the dedicated connection.

You can create the CKN/CAK pair using an industry standard tool.

The valid values are 64 hexadecimal characters (0-9, A-E).

If you use this request parameter, you must use the cak request parameter and not use the secretARN request parameter.

Returns:

  • (String)


449
450
451
452
453
454
455
456
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 449

class AssociateMacSecKeyRequest < Struct.new(
  :connection_id,
  :secret_arn,
  :ckn,
  :cak)
  SENSITIVE = []
  include Aws::Structure
end

#connection_idString

The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).

You can use DescribeConnections or DescribeLags to retrieve connection ID.

Returns:

  • (String)


449
450
451
452
453
454
455
456
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 449

class AssociateMacSecKeyRequest < Struct.new(
  :connection_id,
  :secret_arn,
  :ckn,
  :cak)
  SENSITIVE = []
  include Aws::Structure
end

#secret_arnString

The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection.

You can use DescribeConnections or DescribeLags to retrieve the MAC Security (MACsec) secret key.

If you use this request parameter, you do not use the ckn and cak request parameters.

Returns:

  • (String)


449
450
451
452
453
454
455
456
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 449

class AssociateMacSecKeyRequest < Struct.new(
  :connection_id,
  :secret_arn,
  :ckn,
  :cak)
  SENSITIVE = []
  include Aws::Structure
end