Assurance / Client / create_project
create_project¶
- Assurance.Client.create_project(**kwargs)¶
Creates a new project with a list of resources in a governance environment.
See also: AWS API Documentation
Request Syntax
response = client.create_project( environmentArn='string', project='string', resourceFilters=[ 'string', ] )
- Parameters:
environmentArn (string) –
[REQUIRED]
The ARN of this governance environment.
project (string) –
[REQUIRED]
The name of the project.
resourceFilters (list) –
The filters that determine which resources are in scope.
(string) –
A resource filter that uses AWS Resource Explorer query syntax.
- Return type:
dict
- Returns:
Response Syntax
{ 'project': 'string', 'resourceFilters': [ 'string', ] }
Response Structure
(dict) –
project (string) –
The name of the project.
resourceFilters (list) –
The filters that determine which resources are in scope.
(string) –
A resource filter that uses AWS Resource Explorer query syntax.
Exceptions
Assurance.Client.exceptions.ConflictExceptionAssurance.Client.exceptions.ValidationExceptionAssurance.Client.exceptions.InternalServerExceptionAssurance.Client.exceptions.ThrottlingExceptionAssurance.Client.exceptions.AccessDeniedExceptionAssurance.Client.exceptions.ResourceNotFoundException