EMRContainers / Client / list_security_configurations

list_security_configurations#

EMRContainers.Client.list_security_configurations(**kwargs)#

Lists security configurations based on a set of parameters. Security configurations in Amazon EMR on EKS are templates for different security setups. You can use security configurations to configure the Lake Formation integration setup. You can also create a security configuration to re-use a security setup each time you create a virtual cluster.

See also: AWS API Documentation

Request Syntax

response = client.list_security_configurations(
    createdAfter=datetime(2015, 1, 1),
    createdBefore=datetime(2015, 1, 1),
    maxResults=123,
    nextToken='string'
)
Parameters:
  • createdAfter (datetime) – The date and time after which the security configuration was created.

  • createdBefore (datetime) – The date and time before which the security configuration was created.

  • maxResults (integer) – The maximum number of security configurations the operation can list.

  • nextToken (string) – The token for the next set of security configurations to return.

Return type:

dict

Returns:

Response Syntax

{
    'securityConfigurations': [
        {
            'id': 'string',
            'name': 'string',
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'securityConfigurationData': {
                'authorizationConfiguration': {
                    'lakeFormationConfiguration': {
                        'authorizedSessionTagValue': 'string',
                        'secureNamespaceInfo': {
                            'clusterId': 'string',
                            'namespace': 'string'
                        },
                        'queryEngineRoleArn': 'string'
                    },
                    'encryptionConfiguration': {
                        'inTransitEncryptionConfiguration': {
                            'tlsCertificateConfiguration': {
                                'certificateProviderType': 'PEM',
                                'publicCertificateSecretArn': 'string',
                                'privateCertificateSecretArn': 'string'
                            }
                        }
                    }
                }
            },
            'tags': {
                'string': 'string'
            }
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • securityConfigurations (list) –

      The list of returned security configurations.

      • (dict) –

        Inputs related to the security configuration. Security configurations in Amazon EMR on EKS are templates for different security setups. You can use security configurations to configure the Lake Formation integration setup. You can also create a security configuration to re-use a security setup each time you create a virtual cluster.

        • id (string) –

          The ID of the security configuration.

        • name (string) –

          The name of the security configuration.

        • arn (string) –

          The ARN (Amazon Resource Name) of the security configuration.

        • createdAt (datetime) –

          The date and time that the job run was created.

        • createdBy (string) –

          The user who created the job run.

        • securityConfigurationData (dict) –

          Security configuration inputs for the request.

          • authorizationConfiguration (dict) –

            Authorization-related configuration input for the security configuration.

            • lakeFormationConfiguration (dict) –

              Lake Formation related configuration inputs for the security configuration.

              • authorizedSessionTagValue (string) –

                The session tag to authorize Amazon EMR on EKS for API calls to Lake Formation.

              • secureNamespaceInfo (dict) –

                The namespace input of the system job.

                • clusterId (string) –

                  The ID of the Amazon EKS cluster where Amazon EMR on EKS jobs run.

                • namespace (string) –

                  The namespace of the Amazon EKS cluster where the system jobs run.

              • queryEngineRoleArn (string) –

                The query engine IAM role ARN that is tied to the secure Spark job. The QueryEngine role assumes the JobExecutionRole to execute all the Lake Formation calls.

            • encryptionConfiguration (dict) –

              Encryption-related configuration input for the security configuration.

              • inTransitEncryptionConfiguration (dict) –

                In-transit encryption-related input for the security configuration.

                • tlsCertificateConfiguration (dict) –

                  TLS certificate-related configuration input for the security configuration.

                  • certificateProviderType (string) –

                    The TLS certificate type. Acceptable values: PEM or Custom.

                  • publicCertificateSecretArn (string) –

                    Secrets Manager ARN that contains the public TLS certificate contents, used for communication between the user job and the system job.

                  • privateCertificateSecretArn (string) –

                    Secrets Manager ARN that contains the private TLS certificate contents, used for communication between the user job and the system job.

        • tags (dict) –

          The tags to assign to the security configuration.

          • (string) –

            • (string) –

    • nextToken (string) –

      The token for the next set of security configurations to return.

Exceptions

  • EMRContainers.Client.exceptions.ValidationException

  • EMRContainers.Client.exceptions.InternalServerException