SecretVersionInfo

class aws_cdk.aws_batch.SecretVersionInfo(*, version_id=None, version_stage=None)

Bases: object

Specify the secret’s version id or version stage.

Parameters:
  • version_id (Optional[str]) – version id of the secret. Default: - use default version id

  • version_stage (Optional[str]) – version stage of the secret. Default: - use default version stage

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_batch as batch

secret_version_info = batch.SecretVersionInfo(
    version_id="versionId",
    version_stage="versionStage"
)

Attributes

version_id

version id of the secret.

Default:
  • use default version id

version_stage

version stage of the secret.

Default:
  • use default version stage