create_framework
¶
create_framework(
framework_name: FrameworkName,
framework_controls: FrameworkControls,
*,
config_overrides: Optional[BackupClientConfig] = None,
framework_description: Optional[FrameworkDescription] = None,
idempotency_token: Optional[string] = None,
framework_tags: Optional[stringMap] = None,
) -> CreateFrameworkOutput
Creates a framework with one or more controls. A framework is a collection of controls that you can use to evaluate your backup practices. By using pre-built customizable controls to define your policies, you can evaluate whether your backup practices comply with your policies and which resources are not yet in compliance.
Parameters:
-
framework_name(FrameworkName) –The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
-
framework_description(Optional[FrameworkDescription], default:None) –An optional description of the framework with a maximum of 1,024 characters.
-
framework_controls(FrameworkControls) –The controls that make up the framework. Each control in the list has a name, input parameters, and scope.
-
idempotency_token(Optional[string], default:None) –A customer-chosen string that you can use to distinguish between otherwise identical calls to
CreateFrameworkInput. Retrying a successful request with the same idempotency token results in a success message with no action taken. -
framework_tags(Optional[stringMap], default:None) –The tags to assign to the framework.
Raises:
-
AlreadyExistsException–The required resource already exists.
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
LimitExceededException–A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
-
MissingParameterValueException–Indicates that a required parameter is missing.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.