docs.aws.amazon.com
Open in
urlscan Pro
18.173.132.126
Public Scan
URL:
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AuthorizeSecurityGroupIngress.html
Submission: On October 29 via api from KR — Scanned from US
Submission: On October 29 via api from KR — Scanned from US
Form analysis
0 forms found in the DOMText Content
SELECT YOUR COOKIE PREFERENCES We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies. If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.” Accept all cookiesContinue without acceptingCustomize cookies CUSTOMIZE COOKIE PREFERENCES We use cookies and similar tools (collectively, "cookies") for the following purposes. ESSENTIAL Essential cookies are necessary to provide our site and services and cannot be deactivated. They are usually set in response to your actions on the site, such as setting your privacy preferences, signing in, or filling in forms. PERFORMANCE Performance cookies provide anonymous statistics about how customers navigate our site so we can improve site experience and performance. Approved third parties may perform analytics on our behalf, but they cannot use the data for their own purposes. Allow performance category Allowed FUNCTIONAL Functional cookies help us provide useful site features, remember your preferences, and display relevant content. Approved third parties may set these cookies to provide certain site features. If you do not allow these cookies, then some or all of these services may not function properly. Allow functional category Allowed ADVERTISING Advertising cookies may be set through our site by us or our advertising partners and help us deliver relevant marketing content. If you do not allow these cookies, you will experience less relevant advertising. Allow advertising category Allowed Blocking some types of cookies may impact your experience of our sites. You may review and change your choices at any time by clicking Cookie preferences in the footer of this site. We and selected third-parties use cookies or similar technologies as specified in the AWS Cookie Notice. CancelSave preferences UNABLE TO SAVE COOKIE PREFERENCES We will only store essential cookies at this time, because we were unable to save your cookie preferences. If you want to change your cookie preferences, try again later using the link in the AWS console footer, or contact support if the problem persists. Dismiss Contact Us English Create an AWS Account 1. AWS 2. ... 3. Documentation 4. Amazon EC2 5. API Reference Feedback Preferences AMAZON ELASTIC COMPUTE CLOUD API REFERENCE * Welcome * Actions by service * AWS Client VPN actions * Amazon EBS actions * Amazon EC2 actions * AWS Network Manager actions * AWS Nitro Enclaves * AWS Outposts actions * AWS PrivateLink actions * Recycle Bin * AWS Site-to-Site VPN actions * AWS Transit Gateway actions * AWS Verified Access actions * VM Import/Export actions * Amazon VPC actions * Amazon VPC IPAM actions * AWS Wavelength actions * Actions * AcceptAddressTransfer * AcceptCapacityReservationBillingOwnership * AcceptReservedInstancesExchangeQuote * AcceptTransitGatewayMulticastDomainAssociations * AcceptTransitGatewayPeeringAttachment * AcceptTransitGatewayVpcAttachment * AcceptVpcEndpointConnections * AcceptVpcPeeringConnection * AdvertiseByoipCidr * AllocateAddress * AllocateHosts * AllocateIpamPoolCidr * ApplySecurityGroupsToClientVpnTargetNetwork * AssignIpv6Addresses * AssignPrivateIpAddresses * AssignPrivateNatGatewayAddress * AssociateAddress * AssociateCapacityReservationBillingOwner * AssociateClientVpnTargetNetwork * AssociateDhcpOptions * AssociateEnclaveCertificateIamRole * AssociateIamInstanceProfile * AssociateInstanceEventWindow * AssociateIpamByoasn * AssociateIpamResourceDiscovery * AssociateNatGatewayAddress * AssociateRouteTable * AssociateSubnetCidrBlock * AssociateTransitGatewayMulticastDomain * AssociateTransitGatewayPolicyTable * AssociateTransitGatewayRouteTable * AssociateTrunkInterface * AssociateVpcCidrBlock * AttachClassicLinkVpc * AttachInternetGateway * AttachNetworkInterface * AttachVerifiedAccessTrustProvider * AttachVolume * AttachVpnGateway * AuthorizeClientVpnIngress * AuthorizeSecurityGroupEgress * AuthorizeSecurityGroupIngress * BundleInstance * CancelBundleTask * CancelCapacityReservation * CancelCapacityReservationFleets * CancelConversionTask * CancelExportTask * CancelImageLaunchPermission * CancelImportTask * CancelReservedInstancesListing * CancelSpotFleetRequests * CancelSpotInstanceRequests * ConfirmProductInstance * CopyFpgaImage * CopyImage * CopySnapshot * CreateCapacityReservation * CreateCapacityReservationBySplitting * CreateCapacityReservationFleet * CreateCarrierGateway * CreateClientVpnEndpoint * CreateClientVpnRoute * CreateCoipCidr * CreateCoipPool * CreateCustomerGateway * CreateDefaultSubnet * CreateDefaultVpc * CreateDhcpOptions * CreateEgressOnlyInternetGateway * CreateFleet * CreateFlowLogs * CreateFpgaImage * CreateImage * CreateInstanceConnectEndpoint * CreateInstanceEventWindow * CreateInstanceExportTask * CreateInternetGateway * CreateIpam * CreateIpamExternalResourceVerificationToken * CreateIpamPool * CreateIpamResourceDiscovery * CreateIpamScope * CreateKeyPair * CreateLaunchTemplate * CreateLaunchTemplateVersion * CreateLocalGatewayRoute * CreateLocalGatewayRouteTable * CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation * CreateLocalGatewayRouteTableVpcAssociation * CreateManagedPrefixList * CreateNatGateway * CreateNetworkAcl * CreateNetworkAclEntry * CreateNetworkInsightsAccessScope * CreateNetworkInsightsPath * CreateNetworkInterface * CreateNetworkInterfacePermission * CreatePlacementGroup * CreatePublicIpv4Pool * CreateReplaceRootVolumeTask * CreateReservedInstancesListing * CreateRestoreImageTask * CreateRoute * CreateRouteTable * CreateSecurityGroup * CreateSnapshot * CreateSnapshots * CreateSpotDatafeedSubscription * CreateStoreImageTask * CreateSubnet * CreateSubnetCidrReservation * CreateTags * CreateTrafficMirrorFilter * CreateTrafficMirrorFilterRule * CreateTrafficMirrorSession * CreateTrafficMirrorTarget * CreateTransitGateway * CreateTransitGatewayConnect * CreateTransitGatewayConnectPeer * CreateTransitGatewayMulticastDomain * CreateTransitGatewayPeeringAttachment * CreateTransitGatewayPolicyTable * CreateTransitGatewayPrefixListReference * CreateTransitGatewayRoute * CreateTransitGatewayRouteTable * CreateTransitGatewayRouteTableAnnouncement * CreateTransitGatewayVpcAttachment * CreateVerifiedAccessEndpoint * CreateVerifiedAccessGroup * CreateVerifiedAccessInstance * CreateVerifiedAccessTrustProvider * CreateVolume * CreateVpc * CreateVpcEndpoint * CreateVpcEndpointConnectionNotification * CreateVpcEndpointServiceConfiguration * CreateVpcPeeringConnection * CreateVpnConnection * CreateVpnConnectionRoute * CreateVpnGateway * DeleteCarrierGateway * DeleteClientVpnEndpoint * DeleteClientVpnRoute * DeleteCoipCidr * DeleteCoipPool * DeleteCustomerGateway * DeleteDhcpOptions * DeleteEgressOnlyInternetGateway * DeleteFleets * DeleteFlowLogs * DeleteFpgaImage * DeleteInstanceConnectEndpoint * DeleteInstanceEventWindow * DeleteInternetGateway * DeleteIpam * DeleteIpamExternalResourceVerificationToken * DeleteIpamPool * DeleteIpamResourceDiscovery * DeleteIpamScope * DeleteKeyPair * DeleteLaunchTemplate * DeleteLaunchTemplateVersions * DeleteLocalGatewayRoute * DeleteLocalGatewayRouteTable * DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation * DeleteLocalGatewayRouteTableVpcAssociation * DeleteManagedPrefixList * DeleteNatGateway * DeleteNetworkAcl * DeleteNetworkAclEntry * DeleteNetworkInsightsAccessScope * DeleteNetworkInsightsAccessScopeAnalysis * DeleteNetworkInsightsAnalysis * DeleteNetworkInsightsPath * DeleteNetworkInterface * DeleteNetworkInterfacePermission * DeletePlacementGroup * DeletePublicIpv4Pool * DeleteQueuedReservedInstances * DeleteRoute * DeleteRouteTable * DeleteSecurityGroup * DeleteSnapshot * DeleteSpotDatafeedSubscription * DeleteSubnet * DeleteSubnetCidrReservation * DeleteTags * DeleteTrafficMirrorFilter * DeleteTrafficMirrorFilterRule * DeleteTrafficMirrorSession * DeleteTrafficMirrorTarget * DeleteTransitGateway * DeleteTransitGatewayConnect * DeleteTransitGatewayConnectPeer * DeleteTransitGatewayMulticastDomain * DeleteTransitGatewayPeeringAttachment * DeleteTransitGatewayPolicyTable * DeleteTransitGatewayPrefixListReference * DeleteTransitGatewayRoute * DeleteTransitGatewayRouteTable * DeleteTransitGatewayRouteTableAnnouncement * DeleteTransitGatewayVpcAttachment * DeleteVerifiedAccessEndpoint * DeleteVerifiedAccessGroup * DeleteVerifiedAccessInstance * DeleteVerifiedAccessTrustProvider * DeleteVolume * DeleteVpc * DeleteVpcEndpointConnectionNotifications * DeleteVpcEndpoints * DeleteVpcEndpointServiceConfigurations * DeleteVpcPeeringConnection * DeleteVpnConnection * DeleteVpnConnectionRoute * DeleteVpnGateway * DeprovisionByoipCidr * DeprovisionIpamByoasn * DeprovisionIpamPoolCidr * DeprovisionPublicIpv4PoolCidr * DeregisterImage * DeregisterInstanceEventNotificationAttributes * DeregisterTransitGatewayMulticastGroupMembers * DeregisterTransitGatewayMulticastGroupSources * DescribeAccountAttributes * DescribeAddresses * DescribeAddressesAttribute * DescribeAddressTransfers * DescribeAggregateIdFormat * DescribeAvailabilityZones * DescribeAwsNetworkPerformanceMetricSubscriptions * DescribeBundleTasks * DescribeByoipCidrs * DescribeCapacityBlockOfferings * DescribeCapacityReservationBillingRequests * DescribeCapacityReservationFleets * DescribeCapacityReservations * DescribeCarrierGateways * DescribeClassicLinkInstances * DescribeClientVpnAuthorizationRules * DescribeClientVpnConnections * DescribeClientVpnEndpoints * DescribeClientVpnRoutes * DescribeClientVpnTargetNetworks * DescribeCoipPools * DescribeConversionTasks * DescribeCustomerGateways * DescribeDhcpOptions * DescribeEgressOnlyInternetGateways * DescribeElasticGpus * DescribeExportImageTasks * DescribeExportTasks * DescribeFastLaunchImages * DescribeFastSnapshotRestores * DescribeFleetHistory * DescribeFleetInstances * DescribeFleets * DescribeFlowLogs * DescribeFpgaImageAttribute * DescribeFpgaImages * DescribeHostReservationOfferings * DescribeHostReservations * DescribeHosts * DescribeIamInstanceProfileAssociations * DescribeIdentityIdFormat * DescribeIdFormat * DescribeImageAttribute * DescribeImages * DescribeImportImageTasks * DescribeImportSnapshotTasks * DescribeInstanceAttribute * DescribeInstanceConnectEndpoints * DescribeInstanceCreditSpecifications * DescribeInstanceEventNotificationAttributes * DescribeInstanceEventWindows * DescribeInstanceImageMetadata * DescribeInstances * DescribeInstanceStatus * DescribeInstanceTopology * DescribeInstanceTypeOfferings * DescribeInstanceTypes * DescribeInternetGateways * DescribeIpamByoasn * DescribeIpamExternalResourceVerificationTokens * DescribeIpamPools * DescribeIpamResourceDiscoveries * DescribeIpamResourceDiscoveryAssociations * DescribeIpams * DescribeIpamScopes * DescribeIpv6Pools * DescribeKeyPairs * DescribeLaunchTemplates * DescribeLaunchTemplateVersions * DescribeLocalGatewayRouteTables * DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations * DescribeLocalGatewayRouteTableVpcAssociations * DescribeLocalGateways * DescribeLocalGatewayVirtualInterfaceGroups * DescribeLocalGatewayVirtualInterfaces * DescribeLockedSnapshots * DescribeMacHosts * DescribeManagedPrefixLists * DescribeMovingAddresses * DescribeNatGateways * DescribeNetworkAcls * DescribeNetworkInsightsAccessScopeAnalyses * DescribeNetworkInsightsAccessScopes * DescribeNetworkInsightsAnalyses * DescribeNetworkInsightsPaths * DescribeNetworkInterfaceAttribute * DescribeNetworkInterfacePermissions * DescribeNetworkInterfaces * DescribePlacementGroups * DescribePrefixLists * DescribePrincipalIdFormat * DescribePublicIpv4Pools * DescribeRegions * DescribeReplaceRootVolumeTasks * DescribeReservedInstances * DescribeReservedInstancesListings * DescribeReservedInstancesModifications * DescribeReservedInstancesOfferings * DescribeRouteTables * DescribeScheduledInstanceAvailability * DescribeScheduledInstances * DescribeSecurityGroupReferences * DescribeSecurityGroupRules * DescribeSecurityGroups * DescribeSnapshotAttribute * DescribeSnapshots * DescribeSnapshotTierStatus * DescribeSpotDatafeedSubscription * DescribeSpotFleetInstances * DescribeSpotFleetRequestHistory * DescribeSpotFleetRequests * DescribeSpotInstanceRequests * DescribeSpotPriceHistory * DescribeStaleSecurityGroups * DescribeStoreImageTasks * DescribeSubnets * DescribeTags * DescribeTrafficMirrorFilterRules * DescribeTrafficMirrorFilters * DescribeTrafficMirrorSessions * DescribeTrafficMirrorTargets * DescribeTransitGatewayAttachments * DescribeTransitGatewayConnectPeers * DescribeTransitGatewayConnects * DescribeTransitGatewayMulticastDomains * DescribeTransitGatewayPeeringAttachments * DescribeTransitGatewayPolicyTables * DescribeTransitGatewayRouteTableAnnouncements * DescribeTransitGatewayRouteTables * DescribeTransitGateways * DescribeTransitGatewayVpcAttachments * DescribeTrunkInterfaceAssociations * DescribeVerifiedAccessEndpoints * DescribeVerifiedAccessGroups * DescribeVerifiedAccessInstanceLoggingConfigurations * DescribeVerifiedAccessInstances * DescribeVerifiedAccessTrustProviders * DescribeVolumeAttribute * DescribeVolumes * DescribeVolumesModifications * DescribeVolumeStatus * DescribeVpcAttribute * DescribeVpcClassicLink * DescribeVpcClassicLinkDnsSupport * DescribeVpcEndpointConnectionNotifications * DescribeVpcEndpointConnections * DescribeVpcEndpoints * DescribeVpcEndpointServiceConfigurations * DescribeVpcEndpointServicePermissions * DescribeVpcEndpointServices * DescribeVpcPeeringConnections * DescribeVpcs * DescribeVpnConnections * DescribeVpnGateways * DetachClassicLinkVpc * DetachInternetGateway * DetachNetworkInterface * DetachVerifiedAccessTrustProvider * DetachVolume * DetachVpnGateway * DisableAddressTransfer * DisableAwsNetworkPerformanceMetricSubscription * DisableEbsEncryptionByDefault * DisableFastLaunch * DisableFastSnapshotRestores * DisableImage * DisableImageBlockPublicAccess * DisableImageDeprecation * DisableImageDeregistrationProtection * DisableIpamOrganizationAdminAccount * DisableSerialConsoleAccess * DisableSnapshotBlockPublicAccess * DisableTransitGatewayRouteTablePropagation * DisableVgwRoutePropagation * DisableVpcClassicLink * DisableVpcClassicLinkDnsSupport * DisassociateAddress * DisassociateCapacityReservationBillingOwner * DisassociateClientVpnTargetNetwork * DisassociateEnclaveCertificateIamRole * DisassociateIamInstanceProfile * DisassociateInstanceEventWindow * DisassociateIpamByoasn * DisassociateIpamResourceDiscovery * DisassociateNatGatewayAddress * DisassociateRouteTable * DisassociateSubnetCidrBlock * DisassociateTransitGatewayMulticastDomain * DisassociateTransitGatewayPolicyTable * DisassociateTransitGatewayRouteTable * DisassociateTrunkInterface * DisassociateVpcCidrBlock * EnableAddressTransfer * EnableAwsNetworkPerformanceMetricSubscription * EnableEbsEncryptionByDefault * EnableFastLaunch * EnableFastSnapshotRestores * EnableImage * EnableImageBlockPublicAccess * EnableImageDeprecation * EnableImageDeregistrationProtection * EnableIpamOrganizationAdminAccount * EnableReachabilityAnalyzerOrganizationSharing * EnableSerialConsoleAccess * EnableSnapshotBlockPublicAccess * EnableTransitGatewayRouteTablePropagation * EnableVgwRoutePropagation * EnableVolumeIO * EnableVpcClassicLink * EnableVpcClassicLinkDnsSupport * ExportClientVpnClientCertificateRevocationList * ExportClientVpnClientConfiguration * ExportImage * ExportTransitGatewayRoutes * GetAssociatedEnclaveCertificateIamRoles * GetAssociatedIpv6PoolCidrs * GetAwsNetworkPerformanceData * GetCapacityReservationUsage * GetCoipPoolUsage * GetConsoleOutput * GetConsoleScreenshot * GetDefaultCreditSpecification * GetEbsDefaultKmsKeyId * GetEbsEncryptionByDefault * GetFlowLogsIntegrationTemplate * GetGroupsForCapacityReservation * GetHostReservationPurchasePreview * GetImageBlockPublicAccessState * GetInstanceMetadataDefaults * GetInstanceTpmEkPub * GetInstanceTypesFromInstanceRequirements * GetInstanceUefiData * GetIpamAddressHistory * GetIpamDiscoveredAccounts * GetIpamDiscoveredPublicAddresses * GetIpamDiscoveredResourceCidrs * GetIpamPoolAllocations * GetIpamPoolCidrs * GetIpamResourceCidrs * GetLaunchTemplateData * GetManagedPrefixListAssociations * GetManagedPrefixListEntries * GetNetworkInsightsAccessScopeAnalysisFindings * GetNetworkInsightsAccessScopeContent * GetPasswordData * GetReservedInstancesExchangeQuote * GetSecurityGroupsForVpc * GetSerialConsoleAccessStatus * GetSnapshotBlockPublicAccessState * GetSpotPlacementScores * GetSubnetCidrReservations * GetTransitGatewayAttachmentPropagations * GetTransitGatewayMulticastDomainAssociations * GetTransitGatewayPolicyTableAssociations * GetTransitGatewayPolicyTableEntries * GetTransitGatewayPrefixListReferences * GetTransitGatewayRouteTableAssociations * GetTransitGatewayRouteTablePropagations * GetVerifiedAccessEndpointPolicy * GetVerifiedAccessGroupPolicy * GetVpnConnectionDeviceSampleConfiguration * GetVpnConnectionDeviceTypes * GetVpnTunnelReplacementStatus * ImportClientVpnClientCertificateRevocationList * ImportImage * ImportInstance * ImportKeyPair * ImportSnapshot * ImportVolume * ListImagesInRecycleBin * ListSnapshotsInRecycleBin * LockSnapshot * ModifyAddressAttribute * ModifyAvailabilityZoneGroup * ModifyCapacityReservation * ModifyCapacityReservationFleet * ModifyClientVpnEndpoint * ModifyDefaultCreditSpecification * ModifyEbsDefaultKmsKeyId * ModifyFleet * ModifyFpgaImageAttribute * ModifyHosts * ModifyIdentityIdFormat * ModifyIdFormat * ModifyImageAttribute * ModifyInstanceAttribute * ModifyInstanceCapacityReservationAttributes * ModifyInstanceCpuOptions * ModifyInstanceCreditSpecification * ModifyInstanceEventStartTime * ModifyInstanceEventWindow * ModifyInstanceMaintenanceOptions * ModifyInstanceMetadataDefaults * ModifyInstanceMetadataOptions * ModifyInstancePlacement * ModifyIpam * ModifyIpamPool * ModifyIpamResourceCidr * ModifyIpamResourceDiscovery * ModifyIpamScope * ModifyLaunchTemplate * ModifyLocalGatewayRoute * ModifyManagedPrefixList * ModifyNetworkInterfaceAttribute * ModifyPrivateDnsNameOptions * ModifyReservedInstances * ModifySecurityGroupRules * ModifySnapshotAttribute * ModifySnapshotTier * ModifySpotFleetRequest * ModifySubnetAttribute * ModifyTrafficMirrorFilterNetworkServices * ModifyTrafficMirrorFilterRule * ModifyTrafficMirrorSession * ModifyTransitGateway * ModifyTransitGatewayPrefixListReference * ModifyTransitGatewayVpcAttachment * ModifyVerifiedAccessEndpoint * ModifyVerifiedAccessEndpointPolicy * ModifyVerifiedAccessGroup * ModifyVerifiedAccessGroupPolicy * ModifyVerifiedAccessInstance * ModifyVerifiedAccessInstanceLoggingConfiguration * ModifyVerifiedAccessTrustProvider * ModifyVolume * ModifyVolumeAttribute * ModifyVpcAttribute * ModifyVpcEndpoint * ModifyVpcEndpointConnectionNotification * ModifyVpcEndpointServiceConfiguration * ModifyVpcEndpointServicePayerResponsibility * ModifyVpcEndpointServicePermissions * ModifyVpcPeeringConnectionOptions * ModifyVpcTenancy * ModifyVpnConnection * ModifyVpnConnectionOptions * ModifyVpnTunnelCertificate * ModifyVpnTunnelOptions * MonitorInstances * MoveAddressToVpc * MoveByoipCidrToIpam * MoveCapacityReservationInstances * ProvisionByoipCidr * ProvisionIpamByoasn * ProvisionIpamPoolCidr * ProvisionPublicIpv4PoolCidr * PurchaseCapacityBlock * PurchaseHostReservation * PurchaseReservedInstancesOffering * PurchaseScheduledInstances * RebootInstances * RegisterImage * RegisterInstanceEventNotificationAttributes * RegisterTransitGatewayMulticastGroupMembers * RegisterTransitGatewayMulticastGroupSources * RejectCapacityReservationBillingOwnership * RejectTransitGatewayMulticastDomainAssociations * RejectTransitGatewayPeeringAttachment * RejectTransitGatewayVpcAttachment * RejectVpcEndpointConnections * RejectVpcPeeringConnection * ReleaseAddress * ReleaseHosts * ReleaseIpamPoolAllocation * ReplaceIamInstanceProfileAssociation * ReplaceNetworkAclAssociation * ReplaceNetworkAclEntry * ReplaceRoute * ReplaceRouteTableAssociation * ReplaceTransitGatewayRoute * ReplaceVpnTunnel * ReportInstanceStatus * RequestSpotFleet * RequestSpotInstances * ResetAddressAttribute * ResetEbsDefaultKmsKeyId * ResetFpgaImageAttribute * ResetImageAttribute * ResetInstanceAttribute * ResetNetworkInterfaceAttribute * ResetSnapshotAttribute * RestoreAddressToClassic * RestoreImageFromRecycleBin * RestoreManagedPrefixListVersion * RestoreSnapshotFromRecycleBin * RestoreSnapshotTier * RevokeClientVpnIngress * RevokeSecurityGroupEgress * RevokeSecurityGroupIngress * RunInstances * RunScheduledInstances * SearchLocalGatewayRoutes * SearchTransitGatewayMulticastGroups * SearchTransitGatewayRoutes * SendDiagnosticInterrupt * StartInstances * StartNetworkInsightsAccessScopeAnalysis * StartNetworkInsightsAnalysis * StartVpcEndpointServicePrivateDnsVerification * StopInstances * TerminateClientVpnConnections * TerminateInstances * UnassignIpv6Addresses * UnassignPrivateIpAddresses * UnassignPrivateNatGatewayAddress * UnlockSnapshot * UnmonitorInstances * UpdateSecurityGroupRuleDescriptionsEgress * UpdateSecurityGroupRuleDescriptionsIngress * WithdrawByoipCidr * Data Types * AcceleratorCount * AcceleratorCountRequest * AcceleratorTotalMemoryMiB * AcceleratorTotalMemoryMiBRequest * AccessScopeAnalysisFinding * AccessScopePath * AccessScopePathRequest * AccountAttribute * AccountAttributeValue * ActiveInstance * AddedPrincipal * AddIpamOperatingRegion * AdditionalDetail * AddPrefixListEntry * Address * AddressAttribute * AddressTransfer * AllowedPrincipal * AlternatePathHint * AnalysisAclRule * AnalysisComponent * AnalysisLoadBalancerListener * AnalysisLoadBalancerTarget * AnalysisPacketHeader * AnalysisRouteTableRoute * AnalysisSecurityGroupRule * AsnAssociation * AsnAuthorizationContext * AssignedPrivateIpAddress * AssociatedRole * AssociatedTargetNetwork * AssociationStatus * AthenaIntegration * AttachmentEnaSrdSpecification * AttachmentEnaSrdUdpSpecification * AttributeBooleanValue * AttributeValue * AuthorizationRule * AvailabilityZone * AvailabilityZoneMessage * AvailableCapacity * BaselineEbsBandwidthMbps * BaselineEbsBandwidthMbpsRequest * BlobAttributeValue * BlockDeviceMapping * BundleTask * BundleTaskError * Byoasn * ByoipCidr * CancelCapacityReservationFleetError * CancelledSpotInstanceRequest * CancelSpotFleetRequestsError * CancelSpotFleetRequestsErrorItem * CancelSpotFleetRequestsSuccessItem * CapacityAllocation * CapacityBlockOffering * CapacityReservation * CapacityReservationBillingRequest * CapacityReservationFleet * CapacityReservationFleetCancellationState * CapacityReservationGroup * CapacityReservationInfo * CapacityReservationOptions * CapacityReservationOptionsRequest * CapacityReservationSpecification * CapacityReservationSpecificationResponse * CapacityReservationTarget * CapacityReservationTargetResponse * CarrierGateway * CertificateAuthentication * CertificateAuthenticationRequest * CidrAuthorizationContext * CidrBlock * ClassicLinkDnsSupport * ClassicLinkInstance * ClassicLoadBalancer * ClassicLoadBalancersConfig * ClientCertificateRevocationListStatus * ClientConnectOptions * ClientConnectResponseOptions * ClientData * ClientLoginBannerOptions * ClientLoginBannerResponseOptions * ClientVpnAuthentication * ClientVpnAuthenticationRequest * ClientVpnAuthorizationRuleStatus * ClientVpnConnection * ClientVpnConnectionStatus * ClientVpnEndpoint * ClientVpnEndpointAttributeStatus * ClientVpnEndpointStatus * ClientVpnRoute * ClientVpnRouteStatus * CloudWatchLogOptions * CloudWatchLogOptionsSpecification * CoipAddressUsage * CoipCidr * CoipPool * ConnectionLogOptions * ConnectionLogResponseOptions * ConnectionNotification * ConnectionTrackingConfiguration * ConnectionTrackingSpecification * ConnectionTrackingSpecificationRequest * ConnectionTrackingSpecificationResponse * ConversionTask * CpuOptions * CpuOptionsRequest * CreateFleetError * CreateFleetInstance * CreateTransitGatewayConnectRequestOptions * CreateTransitGatewayMulticastDomainRequestOptions * CreateTransitGatewayPeeringAttachmentRequestOptions * CreateTransitGatewayVpcAttachmentRequestOptions * CreateVerifiedAccessEndpointEniOptions * CreateVerifiedAccessEndpointLoadBalancerOptions * CreateVerifiedAccessTrustProviderDeviceOptions * CreateVerifiedAccessTrustProviderOidcOptions * CreateVolumePermission * CreateVolumePermissionModifications * CreditSpecification * CreditSpecificationRequest * CustomerGateway * DataQuery * DataResponse * DeleteFleetError * DeleteFleetErrorItem * DeleteFleetSuccessItem * DeleteLaunchTemplateVersionsResponseErrorItem * DeleteLaunchTemplateVersionsResponseSuccessItem * DeleteQueuedReservedInstancesError * DeregisterInstanceTagAttributeRequest * DescribeFastLaunchImagesSuccessItem * DescribeFastSnapshotRestoreSuccessItem * DescribeFleetError * DescribeFleetsInstances * DestinationOptionsRequest * DestinationOptionsResponse * DeviceOptions * DhcpConfiguration * DhcpOptions * DirectoryServiceAuthentication * DirectoryServiceAuthenticationRequest * DisableFastSnapshotRestoreErrorItem * DisableFastSnapshotRestoreStateError * DisableFastSnapshotRestoreStateErrorItem * DisableFastSnapshotRestoreSuccessItem * DiskImage * DiskImageDescription * DiskImageDetail * DiskImageVolumeDescription * DiskInfo * DnsEntry * DnsOptions * DnsOptionsSpecification * DnsServersOptionsModifyStructure * EbsBlockDevice * EbsInfo * EbsInstanceBlockDevice * EbsInstanceBlockDeviceSpecification * EbsOptimizedInfo * EbsStatusDetails * EbsStatusSummary * Ec2InstanceConnectEndpoint * EfaInfo * EgressOnlyInternetGateway * ElasticGpuAssociation * ElasticGpuHealth * ElasticGpus * ElasticGpuSpecification * ElasticGpuSpecificationResponse * ElasticInferenceAccelerator * ElasticInferenceAcceleratorAssociation * EnableFastSnapshotRestoreErrorItem * EnableFastSnapshotRestoreStateError * EnableFastSnapshotRestoreStateErrorItem * EnableFastSnapshotRestoreSuccessItem * EnaSrdSpecification * EnaSrdSpecificationRequest * EnaSrdUdpSpecification * EnaSrdUdpSpecificationRequest * EnclaveOptions * EnclaveOptionsRequest * EventInformation * Explanation * ExportImageTask * ExportTask * ExportTaskS3Location * ExportTaskS3LocationRequest * ExportToS3Task * ExportToS3TaskSpecification * FailedCapacityReservationFleetCancellationResult * FailedQueuedPurchaseDeletion * FastLaunchLaunchTemplateSpecificationRequest * FastLaunchLaunchTemplateSpecificationResponse * FastLaunchSnapshotConfigurationRequest * FastLaunchSnapshotConfigurationResponse * FederatedAuthentication * FederatedAuthenticationRequest * Filter * FilterPortRange * FirewallStatefulRule * FirewallStatelessRule * FleetCapacityReservation * FleetData * FleetLaunchTemplateConfig * FleetLaunchTemplateConfigRequest * FleetLaunchTemplateOverrides * FleetLaunchTemplateOverridesRequest * FleetLaunchTemplateSpecification * FleetLaunchTemplateSpecificationRequest * FleetSpotCapacityRebalance * FleetSpotCapacityRebalanceRequest * FleetSpotMaintenanceStrategies * FleetSpotMaintenanceStrategiesRequest * FlowLog * FpgaDeviceInfo * FpgaDeviceMemoryInfo * FpgaImage * FpgaImageAttribute * FpgaImageState * FpgaInfo * GpuDeviceInfo * GpuDeviceMemoryInfo * GpuInfo * GroupIdentifier * HibernationOptions * HibernationOptionsRequest * HistoryRecord * HistoryRecordEntry * Host * HostInstance * HostOffering * HostProperties * HostReservation * IamInstanceProfile * IamInstanceProfileAssociation * IamInstanceProfileSpecification * IcmpTypeCode * IdFormat * IKEVersionsListValue * IKEVersionsRequestListValue * Image * ImageDiskContainer * ImageMetadata * ImageRecycleBinInfo * ImportImageLicenseConfigurationRequest * ImportImageLicenseConfigurationResponse * ImportImageTask * ImportInstanceLaunchSpecification * ImportInstanceTaskDetails * ImportInstanceVolumeDetailItem * ImportSnapshotTask * ImportVolumeTaskDetails * InferenceAcceleratorInfo * InferenceDeviceInfo * InferenceDeviceMemoryInfo * Instance * InstanceAttachmentEnaSrdSpecification * InstanceAttachmentEnaSrdUdpSpecification * InstanceBlockDeviceMapping * InstanceBlockDeviceMappingSpecification * InstanceCapacity * InstanceCount * InstanceCreditSpecification * InstanceCreditSpecificationRequest * InstanceEventWindow * InstanceEventWindowAssociationRequest * InstanceEventWindowAssociationTarget * InstanceEventWindowDisassociationRequest * InstanceEventWindowStateChange * InstanceEventWindowTimeRange * InstanceEventWindowTimeRangeRequest * InstanceExportDetails * InstanceFamilyCreditSpecification * InstanceImageMetadata * InstanceIpv4Prefix * InstanceIpv6Address * InstanceIpv6AddressRequest * InstanceIpv6Prefix * InstanceMaintenanceOptions * InstanceMaintenanceOptionsRequest * InstanceMarketOptionsRequest * InstanceMetadataDefaultsResponse * InstanceMetadataOptionsRequest * InstanceMetadataOptionsResponse * InstanceMonitoring * InstanceNetworkInterface * InstanceNetworkInterfaceAssociation * InstanceNetworkInterfaceAttachment * InstanceNetworkInterfaceSpecification * InstancePrivateIpAddress * InstanceRequirements * InstanceRequirementsRequest * InstanceRequirementsWithMetadataRequest * InstanceSpecification * InstanceState * InstanceStateChange * InstanceStatus * InstanceStatusDetails * InstanceStatusEvent * InstanceStatusSummary * InstanceStorageInfo * InstanceTagNotificationAttribute * InstanceTopology * InstanceTypeInfo * InstanceTypeInfoFromInstanceRequirements * InstanceTypeOffering * InstanceUsage * IntegrateServices * InternetGateway * InternetGatewayAttachment * Ipam * IpamAddressHistoryRecord * IpamCidrAuthorizationContext * IpamDiscoveredAccount * IpamDiscoveredPublicAddress * IpamDiscoveredResourceCidr * IpamDiscoveryFailureReason * IpamExternalResourceVerificationToken * IpamOperatingRegion * IpamPool * IpamPoolAllocation * IpamPoolCidr * IpamPoolCidrFailureReason * IpamPoolSourceResource * IpamPoolSourceResourceRequest * IpamPublicAddressSecurityGroup * IpamPublicAddressTag * IpamPublicAddressTags * IpamResourceCidr * IpamResourceDiscovery * IpamResourceDiscoveryAssociation * IpamResourceTag * IpamScope * IpPermission * IpRange * Ipv4PrefixSpecification * Ipv4PrefixSpecificationRequest * Ipv4PrefixSpecificationResponse * Ipv6CidrAssociation * Ipv6CidrBlock * Ipv6Pool * Ipv6PrefixSpecification * Ipv6PrefixSpecificationRequest * Ipv6PrefixSpecificationResponse * Ipv6Range * KeyPairInfo * LastError * LaunchPermission * LaunchPermissionModifications * LaunchSpecification * LaunchTemplate * LaunchTemplateAndOverridesResponse * LaunchTemplateBlockDeviceMapping * LaunchTemplateBlockDeviceMappingRequest * LaunchTemplateCapacityReservationSpecificationRequest * LaunchTemplateCapacityReservationSpecificationResponse * LaunchTemplateConfig * LaunchTemplateCpuOptions * LaunchTemplateCpuOptionsRequest * LaunchTemplateEbsBlockDevice * LaunchTemplateEbsBlockDeviceRequest * LaunchTemplateElasticInferenceAccelerator * LaunchTemplateElasticInferenceAcceleratorResponse * LaunchTemplateEnaSrdSpecification * LaunchTemplateEnaSrdUdpSpecification * LaunchTemplateEnclaveOptions * LaunchTemplateEnclaveOptionsRequest * LaunchTemplateHibernationOptions * LaunchTemplateHibernationOptionsRequest * LaunchTemplateIamInstanceProfileSpecification * LaunchTemplateIamInstanceProfileSpecificationRequest * LaunchTemplateInstanceMaintenanceOptions * LaunchTemplateInstanceMaintenanceOptionsRequest * LaunchTemplateInstanceMarketOptions * LaunchTemplateInstanceMarketOptionsRequest * LaunchTemplateInstanceMetadataOptions * LaunchTemplateInstanceMetadataOptionsRequest * LaunchTemplateInstanceNetworkInterfaceSpecification * LaunchTemplateInstanceNetworkInterfaceSpecificationRequest * LaunchTemplateLicenseConfiguration * LaunchTemplateLicenseConfigurationRequest * LaunchTemplateOverrides * LaunchTemplatePlacement * LaunchTemplatePlacementRequest * LaunchTemplatePrivateDnsNameOptions * LaunchTemplatePrivateDnsNameOptionsRequest * LaunchTemplatesMonitoring * LaunchTemplatesMonitoringRequest * LaunchTemplateSpecification * LaunchTemplateSpotMarketOptions * LaunchTemplateSpotMarketOptionsRequest * LaunchTemplateTagSpecification * LaunchTemplateTagSpecificationRequest * LaunchTemplateVersion * LicenseConfiguration * LicenseConfigurationRequest * LoadBalancersConfig * LoadPermission * LoadPermissionModifications * LoadPermissionRequest * LocalGateway * LocalGatewayRoute * LocalGatewayRouteTable * LocalGatewayRouteTableVirtualInterfaceGroupAssociation * LocalGatewayRouteTableVpcAssociation * LocalGatewayVirtualInterface * LocalGatewayVirtualInterfaceGroup * LockedSnapshotsInfo * MacHost * MaintenanceDetails * ManagedPrefixList * MediaAcceleratorInfo * MediaDeviceInfo * MediaDeviceMemoryInfo * MemoryGiBPerVCpu * MemoryGiBPerVCpuRequest * MemoryInfo * MemoryMiB * MemoryMiBRequest * MetricPoint * ModifyTransitGatewayOptions * ModifyTransitGatewayVpcAttachmentRequestOptions * ModifyVerifiedAccessEndpointEniOptions * ModifyVerifiedAccessEndpointLoadBalancerOptions * ModifyVerifiedAccessTrustProviderDeviceOptions * ModifyVerifiedAccessTrustProviderOidcOptions * ModifyVpnTunnelOptionsSpecification * Monitoring * MovingAddressStatus * NatGateway * NatGatewayAddress * NetworkAcl * NetworkAclAssociation * NetworkAclEntry * NetworkBandwidthGbps * NetworkBandwidthGbpsRequest * NetworkCardInfo * NetworkInfo * NetworkInsightsAccessScope * NetworkInsightsAccessScopeAnalysis * NetworkInsightsAccessScopeContent * NetworkInsightsAnalysis * NetworkInsightsPath * NetworkInterface * NetworkInterfaceAssociation * NetworkInterfaceAttachment * NetworkInterfaceAttachmentChanges * NetworkInterfaceCount * NetworkInterfaceCountRequest * NetworkInterfaceIpv6Address * NetworkInterfacePermission * NetworkInterfacePermissionState * NetworkInterfacePrivateIpAddress * NeuronDeviceCoreInfo * NeuronDeviceInfo * NeuronDeviceMemoryInfo * NeuronInfo * NewDhcpConfiguration * NitroTpmInfo * OidcOptions * OnDemandOptions * OnDemandOptionsRequest * PacketHeaderStatement * PacketHeaderStatementRequest * PathComponent * PathFilter * PathRequestFilter * PathStatement * PathStatementRequest * PciId * PeeringAttachmentStatus * PeeringConnectionOptions * PeeringConnectionOptionsRequest * PeeringTgwInfo * Phase1DHGroupNumbersListValue * Phase1DHGroupNumbersRequestListValue * Phase1EncryptionAlgorithmsListValue * Phase1EncryptionAlgorithmsRequestListValue * Phase1IntegrityAlgorithmsListValue * Phase1IntegrityAlgorithmsRequestListValue * Phase2DHGroupNumbersListValue * Phase2DHGroupNumbersRequestListValue * Phase2EncryptionAlgorithmsListValue * Phase2EncryptionAlgorithmsRequestListValue * Phase2IntegrityAlgorithmsListValue * Phase2IntegrityAlgorithmsRequestListValue * Placement * PlacementGroup * PlacementGroupInfo * PlacementResponse * PoolCidrBlock * PortRange * PrefixList * PrefixListAssociation * PrefixListEntry * PrefixListId * PriceSchedule * PriceScheduleSpecification * PricingDetail * PrincipalIdFormat * PrivateDnsDetails * PrivateDnsNameConfiguration * PrivateDnsNameOptionsOnLaunch * PrivateDnsNameOptionsRequest * PrivateDnsNameOptionsResponse * PrivateIpAddressSpecification * ProcessorInfo * ProductCode * PropagatingVgw * ProvisionedBandwidth * PtrUpdateStatus * PublicIpv4Pool * PublicIpv4PoolRange * Purchase * PurchaseRequest * RecurringCharge * ReferencedSecurityGroup * Region * RegisterInstanceTagAttributeRequest * RemoveIpamOperatingRegion * RemovePrefixListEntry * ReplaceRootVolumeTask * RequestFilterPortRange * RequestIpamResourceTag * RequestLaunchTemplateData * RequestSpotLaunchSpecification * Reservation * ReservationFleetInstanceSpecification * ReservationValue * ReservedInstanceLimitPrice * ReservedInstanceReservationValue * ReservedInstances * ReservedInstancesConfiguration * ReservedInstancesId * ReservedInstancesListing * ReservedInstancesModification * ReservedInstancesModificationResult * ReservedInstancesOffering * ResourceStatement * ResourceStatementRequest * ResponseError * ResponseLaunchTemplateData * Route * RouteTable * RouteTableAssociation * RouteTableAssociationState * RuleGroupRuleOptionsPair * RuleGroupTypePair * RuleOption * RunInstancesMonitoringEnabled * S3ObjectTag * S3Storage * ScheduledInstance * ScheduledInstanceAvailability * ScheduledInstanceRecurrence * ScheduledInstanceRecurrenceRequest * ScheduledInstancesBlockDeviceMapping * ScheduledInstancesEbs * ScheduledInstancesIamInstanceProfile * ScheduledInstancesIpv6Address * ScheduledInstancesLaunchSpecification * ScheduledInstancesMonitoring * ScheduledInstancesNetworkInterface * ScheduledInstancesPlacement * ScheduledInstancesPrivateIpAddressConfig * SecurityGroup * SecurityGroupForVpc * SecurityGroupIdentifier * SecurityGroupReference * SecurityGroupRule * SecurityGroupRuleDescription * SecurityGroupRuleRequest * SecurityGroupRuleUpdate * ServiceConfiguration * ServiceDetail * ServiceTypeDetail * SlotDateTimeRangeRequest * SlotStartTimeRangeRequest * Snapshot * SnapshotDetail * SnapshotDiskContainer * SnapshotInfo * SnapshotRecycleBinInfo * SnapshotTaskDetail * SnapshotTierStatus * SpotCapacityRebalance * SpotDatafeedSubscription * SpotFleetLaunchSpecification * SpotFleetMonitoring * SpotFleetRequestConfig * SpotFleetRequestConfigData * SpotFleetTagSpecification * SpotInstanceRequest * SpotInstanceStateFault * SpotInstanceStatus * SpotMaintenanceStrategies * SpotMarketOptions * SpotOptions * SpotOptionsRequest * SpotPlacement * SpotPlacementScore * SpotPrice * StaleIpPermission * StaleSecurityGroup * StateReason * Storage * StorageLocation * StoreImageTaskResult * Subnet * SubnetAssociation * SubnetCidrBlockState * SubnetCidrReservation * SubnetConfiguration * SubnetIpv6CidrBlockAssociation * Subscription * SuccessfulInstanceCreditSpecificationItem * SuccessfulQueuedPurchaseDeletion * Tag * TagDescription * TagSpecification * TargetCapacitySpecification * TargetCapacitySpecificationRequest * TargetConfiguration * TargetConfigurationRequest * TargetGroup * TargetGroupsConfig * TargetNetwork * TargetReservationValue * TerminateConnectionStatus * ThroughResourcesStatement * ThroughResourcesStatementRequest * TotalLocalStorageGB * TotalLocalStorageGBRequest * TrafficMirrorFilter * TrafficMirrorFilterRule * TrafficMirrorPortRange * TrafficMirrorPortRangeRequest * TrafficMirrorSession * TrafficMirrorTarget * TransitGateway * TransitGatewayAssociation * TransitGatewayAttachment * TransitGatewayAttachmentAssociation * TransitGatewayAttachmentBgpConfiguration * TransitGatewayAttachmentPropagation * TransitGatewayConnect * TransitGatewayConnectOptions * TransitGatewayConnectPeer * TransitGatewayConnectPeerConfiguration * TransitGatewayConnectRequestBgpOptions * TransitGatewayMulticastDeregisteredGroupMembers * TransitGatewayMulticastDeregisteredGroupSources * TransitGatewayMulticastDomain * TransitGatewayMulticastDomainAssociation * TransitGatewayMulticastDomainAssociations * TransitGatewayMulticastDomainOptions * TransitGatewayMulticastGroup * TransitGatewayMulticastRegisteredGroupMembers * TransitGatewayMulticastRegisteredGroupSources * TransitGatewayOptions * TransitGatewayPeeringAttachment * TransitGatewayPeeringAttachmentOptions * TransitGatewayPolicyRule * TransitGatewayPolicyRuleMetaData * TransitGatewayPolicyTable * TransitGatewayPolicyTableAssociation * TransitGatewayPolicyTableEntry * TransitGatewayPrefixListAttachment * TransitGatewayPrefixListReference * TransitGatewayPropagation * TransitGatewayRequestOptions * TransitGatewayRoute * TransitGatewayRouteAttachment * TransitGatewayRouteTable * TransitGatewayRouteTableAnnouncement * TransitGatewayRouteTableAssociation * TransitGatewayRouteTablePropagation * TransitGatewayRouteTableRoute * TransitGatewayVpcAttachment * TransitGatewayVpcAttachmentOptions * TrunkInterfaceAssociation * TunnelOption * UnsuccessfulInstanceCreditSpecificationItem * UnsuccessfulInstanceCreditSpecificationItemError * UnsuccessfulItem * UnsuccessfulItemError * UserBucket * UserBucketDetails * UserData * UserIdGroupPair * ValidationError * ValidationWarning * VCpuCountRange * VCpuCountRangeRequest * VCpuInfo * VerifiedAccessEndpoint * VerifiedAccessEndpointEniOptions * VerifiedAccessEndpointLoadBalancerOptions * VerifiedAccessEndpointStatus * VerifiedAccessGroup * VerifiedAccessInstance * VerifiedAccessInstanceLoggingConfiguration * VerifiedAccessLogCloudWatchLogsDestination * VerifiedAccessLogCloudWatchLogsDestinationOptions * VerifiedAccessLogDeliveryStatus * VerifiedAccessLogKinesisDataFirehoseDestination * VerifiedAccessLogKinesisDataFirehoseDestinationOptions * VerifiedAccessLogOptions * VerifiedAccessLogs * VerifiedAccessLogS3Destination * VerifiedAccessLogS3DestinationOptions * VerifiedAccessSseSpecificationRequest * VerifiedAccessSseSpecificationResponse * VerifiedAccessTrustProvider * VerifiedAccessTrustProviderCondensed * VgwTelemetry * Volume * VolumeAttachment * VolumeDetail * VolumeModification * VolumeStatusAction * VolumeStatusAttachmentStatus * VolumeStatusDetails * VolumeStatusEvent * VolumeStatusInfo * VolumeStatusItem * Vpc * VpcAttachment * VpcCidrBlockAssociation * VpcCidrBlockState * VpcClassicLink * VpcEndpoint * VpcEndpointConnection * VpcIpv6CidrBlockAssociation * VpcPeeringConnection * VpcPeeringConnectionOptionsDescription * VpcPeeringConnectionStateReason * VpcPeeringConnectionVpcInfo * VpnConnection * VpnConnectionDeviceType * VpnConnectionOptions * VpnConnectionOptionsSpecification * VpnGateway * VpnStaticRoute * VpnTunnelLogOptions * VpnTunnelLogOptionsSpecification * VpnTunnelOptionsSpecification * Making API requests * Query requests * Troubleshooting API request errors * CORS support * VM Import Manifest * Common query parameters * Permissions * Error codes AuthorizeSecurityGroupIngress - Amazon Elastic Compute Cloud AWSDocumentationAmazon EC2API Reference Request ParametersResponse ElementsErrorsExamplesSee Also AUTHORIZESECURITYGROUPINGRESS PDF Adds the specified inbound (ingress) rules to a security group. An inbound rule permits instances to receive traffic from the specified IPv4 or IPv6 address range, the IP address ranges that are specified by a prefix list, or the instances that are associated with a destination security group. For more information, see Security group rules. You must specify exactly one of the following sources: an IPv4 or IPv6 address range, a prefix list, or a security group. You must specify a protocol for each rule (for example, TCP). If the protocol is TCP or UDP, you must also specify a port or port range. If the protocol is ICMP or ICMPv6, you must also specify the ICMP/ICMPv6 type and code. Rule changes are propagated to instances associated with the security group as quickly as possible. However, a small delay might occur. For examples of rules that you can add to security groups for specific access scenarios, see Security group rules for different use cases in the Amazon EC2 User Guide. For more information about security group quotas, see Amazon VPC quotas in the Amazon VPC User Guide. REQUEST PARAMETERS The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters. CidrIp The IPv4 address range, in CIDR format. To specify an IPv6 address range, use IP permissions instead. To specify multiple rules and descriptions for the rules, use IP permissions instead. Type: String Required: No DryRun 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. Type: Boolean Required: No FromPort If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP, this is the ICMP type or -1 (all ICMP types). To specify multiple rules and descriptions for the rules, use IP permissions instead. Type: Integer Required: No GroupId The ID of the security group. Type: String Required: No GroupName [Default VPC] The name of the security group. For security groups for a default VPC you can specify either the ID or the name of the security group. For security groups for a nondefault VPC, you must specify the ID of the security group. Type: String Required: No IpPermissions.N The permissions for the security group rules. Type: Array of IpPermission objects Required: No IpProtocol The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). To specify all protocols, use -1. To specify icmpv6, use IP permissions instead. If you specify a protocol other than one of the supported values, traffic is allowed on all ports, regardless of any ports that you specify. To specify multiple rules and descriptions for the rules, use IP permissions instead. Type: String Required: No SourceSecurityGroupName [Default VPC] The name of the source security group. The rule grants full ICMP, UDP, and TCP access. To create a rule with a specific protocol and port range, specify a set of IP permissions instead. Type: String Required: No SourceSecurityGroupOwnerId The AWS account ID for the source security group, if the source security group is in a different account. The rule grants full ICMP, UDP, and TCP access. To create a rule with a specific protocol and port range, use IP permissions instead. Type: String Required: No TagSpecification.N The tags applied to the security group rule. Type: Array of TagSpecification objects Required: No ToPort If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP, this is the ICMP code or -1 (all ICMP codes). If the start port is -1 (all ICMP types), then the end port must be -1 (all ICMP codes). To specify multiple rules and descriptions for the rules, use IP permissions instead. Type: Integer Required: No RESPONSE ELEMENTS The following elements are returned by the service. requestId The ID of the request. Type: String return Returns true if the request succeeds; otherwise, returns an error. Type: Boolean securityGroupRuleSet Information about the inbound (ingress) security group rules that were added. Type: Array of SecurityGroupRule objects ERRORS For information about the errors that are common to all actions, see Common client error codes. EXAMPLES EXAMPLE 1 This example request grants TCP port 80 access from the source group sg-2a2b3c4d to the security group sg-1a2b3c4d. The source security group must be in the same VPC or in a peer VPC (requires a VPC peering connection). SAMPLE REQUEST https://ec2.amazonaws.com/?Action=AuthorizeSecurityGroupIngress &GroupId=sg-1a2b3c4d &IpPermissions.1.IpProtocol=tcp &IpPermissions.1.FromPort=80 &IpPermissions.1.ToPort=80 &IpPermissions.1.Groups.1.GroupId=sg-2a2b3c4d &AUTHPARAMS EXAMPLE 2 This example grants SSH access (port 22) from the IPv6 range 2001:db8:1234:1a00::/64. SAMPLE REQUEST https://ec2.amazonaws.com/ ?Action=AuthorizeSecurityGroupIngress &GroupId=sg-1a2b3c4d &IpPermissions.1.IpProtocol=tcp &IpPermissions.1.FromPort=22 &IpPermissions.1.ToPort=22 &IpPermissions.1.Ipv6Ranges.1.CidrIpv6=2001:db8:1234:1a00::/64 &AUTHPARAMS EXAMPLE 3 This example grants access over port 3389 (RDP) from the 192.0.2.0/24 IPv4 address range, and includes a description for the rule to help you identify the rule later. SAMPLE REQUEST https://ec2.amazonaws.com/?Action=AuthorizeSecurityGroupIngress &GroupId=sg-112233 &IpPermissions.1.IpProtocol=tcp &IpPermissions.1.FromPort=3389 &IpPermissions.1.ToPort=3389 &IpPermissions.1.IpRanges.1.CidrIp=192.0.2.0/24 &IpPermissions.1.IpRanges.1.Description=Access from New York office SEE ALSO For more information about using this API in one of the language-specific AWS SDKs, see the following: * AWS Command Line Interface * AWS SDK for .NET * AWS SDK for C++ * AWS SDK for Go v2 * AWS SDK for Java V2 * AWS SDK for JavaScript V3 * AWS SDK for PHP V3 * AWS SDK for Python * AWS SDK for Ruby V3 Javascript is disabled or is unavailable in your browser. To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions. Document Conventions AuthorizeSecurityGroupEgress BundleInstance Did this page help you? - Yes Thanks for letting us know we're doing a good job! If you've got a moment, please tell us what we did right so we can do more of it. Did this page help you? - No Thanks for letting us know this page needs work. We're sorry we let you down. If you've got a moment, please tell us how we can make the documentation better. DID THIS PAGE HELP YOU? Yes No Provide feedback NEXT TOPIC: BundleInstance PREVIOUS TOPIC: AuthorizeSecurityGroupEgress NEED HELP? * Try AWS re:Post * Connect with an AWS IQ expert PrivacySite termsCookie preferences © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. ON THIS PAGE * Request Parameters * Response Elements * Errors * Examples * See Also