SecurityAgent / Client / create_security_requirement_pack
create_security_requirement_pack¶
- SecurityAgent.Client.create_security_requirement_pack(**kwargs)¶
Creates a customer managed security requirement pack.
See also: AWS API Documentation
Request Syntax
response = client.create_security_requirement_pack( name='string', description='string', status='ENABLED'|'DISABLED', kmsKeyId='string', tags={ 'string': 'string' } )
- Parameters:
name (string) –
[REQUIRED]
The name of the security requirement pack.
description (string) – A description of the security requirement pack.
status (string) – The status of the pack. Defaults to ENABLED if not provided.
kmsKeyId (string) – The identifier of the AWS KMS key used to encrypt pack contents.
tags (dict) –
The tags to associate with the security requirement pack.
(string) –
Key for a resource tag.
(string) –
Value for a resource tag.
- Return type:
dict
- Returns:
Response Syntax
{ 'packId': 'string', 'status': 'ENABLED'|'DISABLED', 'kmsKeyId': 'string' }
Response Structure
(dict) –
packId (string) –
The unique identifier of the created security requirement pack.
status (string) –
The status of the created security requirement pack.
kmsKeyId (string) –
The identifier of the AWS KMS key used to encrypt pack contents.
Exceptions