Documentation ¶
Overview ¶
nolint: lll
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protection ¶
type Protection struct { pulumi.CustomResourceState // A friendly name for the Protection you are creating. Name pulumi.StringOutput `pulumi:"name"` // The ARN (Amazon Resource Name) of the resource to be protected. ResourceArn pulumi.StringOutput `pulumi:"resourceArn"` }
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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/shield_protection.html.markdown.
func GetProtection ¶
func GetProtection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProtectionState, opts ...pulumi.ResourceOption) (*Protection, error)
GetProtection gets an existing Protection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProtection ¶
func NewProtection(ctx *pulumi.Context, name string, args *ProtectionArgs, opts ...pulumi.ResourceOption) (*Protection, error)
NewProtection registers a new resource with the given unique name, arguments, and options.
type ProtectionArgs ¶
type ProtectionArgs struct { // A friendly name for the Protection you are creating. Name pulumi.StringPtrInput // The ARN (Amazon Resource Name) of the resource to be protected. ResourceArn pulumi.StringInput }
The set of arguments for constructing a Protection resource.
func (ProtectionArgs) ElementType ¶
func (ProtectionArgs) ElementType() reflect.Type
type ProtectionState ¶
type ProtectionState struct { // A friendly name for the Protection you are creating. Name pulumi.StringPtrInput // The ARN (Amazon Resource Name) of the resource to be protected. ResourceArn pulumi.StringPtrInput }
func (ProtectionState) ElementType ¶
func (ProtectionState) ElementType() reflect.Type