You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EFS::Types::ModifyMountTargetSecurityGroupsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb

Overview

Note:

When making an API call, you may pass ModifyMountTargetSecurityGroupsRequest data as a hash:

{
  mount_target_id: "MountTargetId", # required
  security_groups: ["SecurityGroup"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#mount_target_idString

ID of the mount target whose security groups you want to modify.

Returns:

  • (String)


558
559
560
561
562
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 558

class ModifyMountTargetSecurityGroupsRequest < Struct.new(
  :mount_target_id,
  :security_groups)
  include Aws::Structure
end

#security_groupsArray<String>

Array of up to five VPC security group IDs.

Returns:

  • (Array<String>)


558
559
560
561
562
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 558

class ModifyMountTargetSecurityGroupsRequest < Struct.new(
  :mount_target_id,
  :security_groups)
  include Aws::Structure
end