Class: Aws::EC2::Types::GetSecurityGroupsForVpcRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dry_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Returns:

  • (Boolean)


35641
35642
35643
35644
35645
35646
35647
35648
35649
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35641

class GetSecurityGroupsForVpcRequest < Struct.new(
  :vpc_id,
  :next_token,
  :max_results,
  :filters,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#filtersArray<Types::Filter>

The filters. If using multiple filters, the results include security groups which match all filters.

  • group-id: The security group ID.

  • description: The security group's description.

  • group-name: The security group name.

  • owner-id: The security group owner ID.

  • primary-vpc-id: The VPC ID in which the security group was created.

Returns:



35641
35642
35643
35644
35645
35646
35647
35648
35649
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35641

class GetSecurityGroupsForVpcRequest < Struct.new(
  :vpc_id,
  :next_token,
  :max_results,
  :filters,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

Returns:

  • (Integer)


35641
35642
35643
35644
35645
35646
35647
35648
35649
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35641

class GetSecurityGroupsForVpcRequest < Struct.new(
  :vpc_id,
  :next_token,
  :max_results,
  :filters,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

Returns:

  • (String)


35641
35642
35643
35644
35645
35646
35647
35648
35649
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35641

class GetSecurityGroupsForVpcRequest < Struct.new(
  :vpc_id,
  :next_token,
  :max_results,
  :filters,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_idString

The VPC ID where the security group can be used.

Returns:

  • (String)


35641
35642
35643
35644
35645
35646
35647
35648
35649
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35641

class GetSecurityGroupsForVpcRequest < Struct.new(
  :vpc_id,
  :next_token,
  :max_results,
  :filters,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end