Assurance / Client / create_framework
create_framework¶
- Assurance.Client.create_framework(**kwargs)¶
Creates a custom framework. The framework name must not start with
AWS:. New frameworks are created inPENDINGstatus. UsePublishFrameworkto make themACTIVE.See also: AWS API Documentation
Request Syntax
response = client.create_framework( environmentArn='string', framework='string', frameworkVersion='string', title='string', description='string' )
- Parameters:
environmentArn (string) –
[REQUIRED]
The ARN of this governance environment.
framework (string) –
[REQUIRED]
The name of the framework. The name must not start with
AWS:.frameworkVersion (string) –
[REQUIRED]
The version that you assign to the framework.
title (string) – The human-readable title of the framework.
description (string) – A description of the framework.
- Return type:
dict
- Returns:
Response Syntax
{ 'framework': { 'type': 'MANAGED'|'CUSTOM', 'frameworkName': 'string', 'environment': 'string', 'frameworkVersion': 'string', 'title': 'string', 'description': 'string', 'status': 'ACTIVE'|'PENDING'|'PRE_PROD', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) } }
Response Structure
(dict) –
framework (dict) –
The name of the compliance framework.
type (string) –
The type of the compliance framework.
frameworkName (string) –
The name of the framework. Names that begin with
AWS:are reserved for AWS managed frameworks.environment (string) –
The governance environment the framework belongs to. Present for CUSTOM frameworks.
frameworkVersion (string) –
The version that you assigned to the framework.
title (string) –
The human-readable title of the framework.
description (string) –
The optional description of the framework.
status (string) –
The lifecycle status of the framework.
createdAt (datetime) –
The timestamp when the framework was created.
updatedAt (datetime) –
The timestamp when the framework was last updated.
Exceptions