RevocationContent

class aws_cdk.aws_elasticloadbalancingv2.RevocationContent(*, bucket, key, revocation_type=None, version=None)

Bases: object

Information about a revocation file.

Parameters:
  • bucket (IBucket) – The Amazon S3 bucket for the revocation file.

  • key (str) – The Amazon S3 path for the revocation file.

  • revocation_type (Optional[RevocationType]) – The type of revocation file. Default: RevocationType.CRL

  • version (Optional[str]) – The Amazon S3 object version of the revocation file. Default: - latest version

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_elasticloadbalancingv2 as elbv2
from aws_cdk import aws_s3 as s3

# bucket: s3.Bucket

revocation_content = elbv2.RevocationContent(
    bucket=bucket,
    key="key",

    # the properties below are optional
    revocation_type=elbv2.RevocationType.CRL,
    version="version"
)

Attributes

bucket

The Amazon S3 bucket for the revocation file.

key

The Amazon S3 path for the revocation file.

revocation_type

The type of revocation file.

Default:

RevocationType.CRL

version

The Amazon S3 object version of the revocation file.

Default:
  • latest version