:doc:`EMR <../../emr>` / Client / create_security_configuration

*****************************
create_security_configuration
*****************************



.. py:method:: EMR.Client.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 <https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfiguration>`_  


  **Request Syntax**
  ::

    response = client.create_security_configuration(
        Name='string',
        SecurityConfiguration='string'
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the security configuration.

    

  
  :type SecurityConfiguration: string
  :param SecurityConfiguration: **[REQUIRED]** 

    The security configuration details in JSON format. For JSON parameters and examples, see `Use Security Configurations to Set Up Cluster Security <https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-security-configurations.html>`__ in the *Amazon EMR Management Guide*.

    

  
  
  :rtype: 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**
  
  *   :py:class:`EMR.Client.exceptions.InternalServerException`

  
  *   :py:class:`EMR.Client.exceptions.InvalidRequestException`

  