Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

create_security_configuration

create_security_configuration(**kwargs)

Creates a security configuration, which is stored in the service and can be specified when a cluster is created.

See also: AWS API Documentation

Request Syntax

response = client.create_security_configuration(
    Name='string',
    SecurityConfiguration='string'
)
Parameters
  • Name (string) --

    [REQUIRED]

    The name of the security configuration.

  • SecurityConfiguration (string) --

    [REQUIRED]

    The security configuration details in JSON format. For JSON parameters and examples, see Use Security Configurations to Set Up Cluster Security in the Amazon EMR Management Guide .

Return type

dict

Returns

Response Syntax

{
    'Name': 'string',
    'CreationDateTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --

    • Name (string) --

      The name of the security configuration.

    • CreationDateTime (datetime) --

      The date and time the security configuration was created.

Exceptions

  • EMR.Client.exceptions.InternalServerException
  • EMR.Client.exceptions.InvalidRequestException