![]() |
![]()
| ![]() |
![]()
NAMEPaws::DirectConnect::AssociateMacSecKey - Arguments for method AssociateMacSecKey on Paws::DirectConnect DESCRIPTIONThis class represents the parameters used for calling the method AssociateMacSecKey on the AWS Direct Connect service. Use the attributes of this class as arguments to method AssociateMacSecKey. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AssociateMacSecKey. SYNOPSISmy $directconnect = Paws->service('DirectConnect'); my $AssociateMacSecKeyResponse = $directconnect->AssociateMacSecKey( ConnectionId => 'MyConnectionId', Cak => 'MyCak', # OPTIONAL Ckn => 'MyCkn', # OPTIONAL SecretARN => 'MySecretARN', # OPTIONAL ); # Results: my $ConnectionId = $AssociateMacSecKeyResponse->ConnectionId; my $MacSecKeys = $AssociateMacSecKeyResponse->MacSecKeys; # Returns a L<Paws::DirectConnect::AssociateMacSecKeyResponse> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/directconnect/AssociateMacSecKey> ATTRIBUTESCak => StrThe 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. Ckn => StrThe 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. REQUIRED ConnectionId => StrThe 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. SecretARN => StrThe 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. SEE ALSOThis class forms part of Paws, documenting arguments for method AssociateMacSecKey in Paws::DirectConnect BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|