alicloud.ga.AclAttachment
Provides a Global Accelerator (GA) Acl Attachment resource.
For information about Global Accelerator (GA) Acl Attachment and how to use it, see What is Acl Attachment.
NOTE: Available in v1.150.0+.
Create AclAttachment Resource
new AclAttachment(name: string, args: AclAttachmentArgs, opts?: CustomResourceOptions);
@overload
def AclAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
acl_id: Optional[str] = None,
acl_type: Optional[str] = None,
dry_run: Optional[bool] = None,
listener_id: Optional[str] = None)
@overload
def AclAttachment(resource_name: str,
args: AclAttachmentArgs,
opts: Optional[ResourceOptions] = None)
func NewAclAttachment(ctx *Context, name string, args AclAttachmentArgs, opts ...ResourceOption) (*AclAttachment, error)
public AclAttachment(string name, AclAttachmentArgs args, CustomResourceOptions? opts = null)
public AclAttachment(String name, AclAttachmentArgs args)
public AclAttachment(String name, AclAttachmentArgs args, CustomResourceOptions options)
type: alicloud:ga:AclAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AclAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AclAttachmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AclAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AclAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AclAttachmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AclAttachment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AclAttachment resource accepts the following input properties:
- Acl
Id string The ID of an ACL.
- Acl
Type string The type of the ACL. Valid values:
white
,black
.- Listener
Id string The ID of the listener.
- Dry
Run bool The dry run.
- Acl
Id string The ID of an ACL.
- Acl
Type string The type of the ACL. Valid values:
white
,black
.- Listener
Id string The ID of the listener.
- Dry
Run bool The dry run.
- acl
Id String The ID of an ACL.
- acl
Type String The type of the ACL. Valid values:
white
,black
.- listener
Id String The ID of the listener.
- dry
Run Boolean The dry run.
- acl
Id string The ID of an ACL.
- acl
Type string The type of the ACL. Valid values:
white
,black
.- listener
Id string The ID of the listener.
- dry
Run boolean The dry run.
- acl_
id str The ID of an ACL.
- acl_
type str The type of the ACL. Valid values:
white
,black
.- listener_
id str The ID of the listener.
- dry_
run bool The dry run.
- acl
Id String The ID of an ACL.
- acl
Type String The type of the ACL. Valid values:
white
,black
.- listener
Id String The ID of the listener.
- dry
Run Boolean The dry run.
Outputs
All input properties are implicitly available as output properties. Additionally, the AclAttachment resource produces the following output properties:
Look up Existing AclAttachment Resource
Get an existing AclAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AclAttachmentState, opts?: CustomResourceOptions): AclAttachment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
acl_id: Optional[str] = None,
acl_type: Optional[str] = None,
dry_run: Optional[bool] = None,
listener_id: Optional[str] = None,
status: Optional[str] = None) -> AclAttachment
func GetAclAttachment(ctx *Context, name string, id IDInput, state *AclAttachmentState, opts ...ResourceOption) (*AclAttachment, error)
public static AclAttachment Get(string name, Input<string> id, AclAttachmentState? state, CustomResourceOptions? opts = null)
public static AclAttachment get(String name, Output<String> id, AclAttachmentState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Acl
Id string The ID of an ACL.
- Acl
Type string The type of the ACL. Valid values:
white
,black
.- Dry
Run bool The dry run.
- Listener
Id string The ID of the listener.
- Status string
The status of the resource.
- Acl
Id string The ID of an ACL.
- Acl
Type string The type of the ACL. Valid values:
white
,black
.- Dry
Run bool The dry run.
- Listener
Id string The ID of the listener.
- Status string
The status of the resource.
- acl
Id String The ID of an ACL.
- acl
Type String The type of the ACL. Valid values:
white
,black
.- dry
Run Boolean The dry run.
- listener
Id String The ID of the listener.
- status String
The status of the resource.
- acl
Id string The ID of an ACL.
- acl
Type string The type of the ACL. Valid values:
white
,black
.- dry
Run boolean The dry run.
- listener
Id string The ID of the listener.
- status string
The status of the resource.
- acl_
id str The ID of an ACL.
- acl_
type str The type of the ACL. Valid values:
white
,black
.- dry_
run bool The dry run.
- listener_
id str The ID of the listener.
- status str
The status of the resource.
- acl
Id String The ID of an ACL.
- acl
Type String The type of the ACL. Valid values:
white
,black
.- dry
Run Boolean The dry run.
- listener
Id String The ID of the listener.
- status String
The status of the resource.
Import
Global Accelerator (GA) Acl Attachment can be imported using the id. Format to <listener_id>:<acl_id>
, e.g.
$ pulumi import alicloud:ga/aclAttachment:AclAttachment example your_listener_id:your_acl_id
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.