Struct aws_sdk_ec2::client::fluent_builders::AuthorizeSecurityGroupEgress[][src]

pub struct AuthorizeSecurityGroupEgress<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description

Fluent builder constructing a request to AuthorizeSecurityGroupEgress.

[VPC only] Adds the specified outbound (egress) rules to a security group for use with a VPC.

An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR address ranges, or to the instances that are associated with the specified destination security groups.

You specify a protocol for each rule (for example, TCP). For the TCP and UDP protocols, you must also specify the destination port or port range. For the ICMP protocol, you must also specify the ICMP type and code. You can use -1 for the type or code to mean all types or all codes.

Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur.

For information about VPC security group quotas, see Amazon VPC quotas.

Implementations

Sends the request and returns the response.

If an error occurs, an SdkError will be returned with additional details that can be matched against.

By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.

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.

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.

The ID of the security group.

The ID of the security group.

Appends an item to IpPermissions.

To override the contents of this collection use set_ip_permissions.

The sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.

The sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.

Appends an item to TagSpecifications.

To override the contents of this collection use set_tag_specifications.

The tags applied to the security group rule.

The tags applied to the security group rule.

Not supported. Use a set of IP permissions to specify the CIDR.

Not supported. Use a set of IP permissions to specify the CIDR.

Not supported. Use a set of IP permissions to specify the port.

Not supported. Use a set of IP permissions to specify the port.

Not supported. Use a set of IP permissions to specify the protocol name or number.

Not supported. Use a set of IP permissions to specify the protocol name or number.

Not supported. Use a set of IP permissions to specify the port.

Not supported. Use a set of IP permissions to specify the port.

Not supported. Use a set of IP permissions to specify a destination security group.

Not supported. Use a set of IP permissions to specify a destination security group.

Not supported. Use a set of IP permissions to specify a destination security group.

Not supported. Use a set of IP permissions to specify a destination security group.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more