ExposedSecret

class aws_cdk.aws_batch.ExposedSecret(option_name, secret_arn)

Bases: object

(experimental) Exposed secret for log configuration.

Stability

experimental

Parameters
  • option_name (str) –

  • secret_arn (str) –

Stability

experimental

Attributes

option_name

(experimental) Name of the option.

Stability

experimental

Return type

str

secret_arn

(experimental) ARN of the secret option.

Stability

experimental

Return type

str

Static Methods

classmethod from_parameters_store(option_name, parameter)

(experimental) User Parameters Store Parameter.

Parameters
  • option_name (str) –

    • The name of the option.

  • parameter (IParameter) –

    • A parameter from parameters store.

Stability

experimental

Return type

ExposedSecret

classmethod from_secrets_manager(option_name, secret)

(experimental) Use Secrets Manager Secret.

Parameters
  • option_name (str) –

    • The name of the option.

  • secret (ISecret) –

    • A secret from secrets manager.

Stability

experimental

Return type

ExposedSecret