paws.storage (version 0.1.0)

efs_describe_mount_target_security_groups: Returns the security groups currently in effect for a mount target

Description

Returns the security groups currently in effect for a mount target. This operation requires that the network interface of the mount target has been created and the lifecycle state of the mount target is not deleted.

Usage

efs_describe_mount_target_security_groups(MountTargetId)

Arguments

MountTargetId

[required] The ID of the mount target whose security groups you want to retrieve.

Request syntax

svc$describe_mount_target_security_groups(
  MountTargetId = "string"
)

Details

This operation requires permissions for the following actions:

  • elasticfilesystem:DescribeMountTargetSecurityGroups action on the mount target's file system.

  • ec2:DescribeNetworkInterfaceAttribute action on the mount target's network interface.

Examples

Run this code
# NOT RUN {
# This operation describes all of the security groups for a file system's
# mount target.
# }
# NOT RUN {
svc$describe_mount_target_security_groups(
  MountTargetId = "fsmt-12340abc"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab