AWSEC2UpdateSecurityGroupRuleDescriptionsIngressRequest

Objective-C

@interface AWSEC2UpdateSecurityGroupRuleDescriptionsIngressRequest

Swift

class AWSEC2UpdateSecurityGroupRuleDescriptionsIngressRequest
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable groupId;

    Swift

    var groupId: String? { get set }
  • [EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable groupName;

    Swift

    var groupName: String? { get set }
  • The IP permissions for the security group rule. You must specify either IP permissions or a description.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2IpPermission *> *_Nullable ipPermissions;

    Swift

    var ipPermissions: [AWSEC2IpPermission]? { get set }
  • [VPC only] The description for the ingress security group rules. You must specify either a description or IP permissions.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2SecurityGroupRuleDescription *> *_Nullable securityGroupRuleDescriptions;

    Swift

    var securityGroupRuleDescriptions: [AWSEC2SecurityGroupRuleDescription]? { get set }