shield

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-aws repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-aws repo.

class pulumi_aws.shield.Protection(resource_name, opts=None, name=None, resource_arn=None, __props__=None, __name__=None, __opts__=None)

Enables AWS Shield Advanced for a specific AWS resource. The resource can be an Amazon CloudFront distribution, Elastic Load Balancing load balancer, AWS Global Accelerator accelerator, Elastic IP Address, or an Amazon Route 53 hosted zone.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • name (pulumi.Input[str]) – A friendly name for the Protection you are creating.

  • resource_arn (pulumi.Input[str]) – The ARN (Amazon Resource Name) of the resource to be protected.

name = None

A friendly name for the Protection you are creating.

resource_arn = None

The ARN (Amazon Resource Name) of the resource to be protected.

static get(resource_name, id, opts=None, name=None, resource_arn=None)

Get an existing Protection resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • name (pulumi.Input[str]) – A friendly name for the Protection you are creating.

  • resource_arn (pulumi.Input[str]) – The ARN (Amazon Resource Name) of the resource to be protected.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str