Navigation

  • index
  • modules |
  • next |
  • previous |
  • Boto3 Docs 1.26.93 documentation »
  • Available services »
  • EC2 »
Boto3 Docs 1.26.93 documentation

Table Of Contents

  • Quickstart
  • A sample tutorial
  • Code examples
  • Developer guide
  • Security
  • Available services
    • AccessAnalyzer
    • Account
    • ACM
    • ACMPCA
    • AlexaForBusiness
    • PrometheusService
    • Amplify
    • AmplifyBackend
    • AmplifyUIBuilder
    • APIGateway
    • ApiGatewayManagementApi
    • ApiGatewayV2
    • AppConfig
    • AppConfigData
    • Appflow
    • AppIntegrationsService
    • ApplicationAutoScaling
    • ApplicationInsights
    • ApplicationCostProfiler
    • AppMesh
    • AppRunner
    • AppStream
    • AppSync
    • ARCZonalShift
    • Athena
    • AuditManager
    • AutoScaling
    • AutoScalingPlans
    • Backup
    • BackupGateway
    • BackupStorage
    • Batch
    • BillingConductor
    • Braket
    • Budgets
    • CostExplorer
    • Chime
    • ChimeSDKIdentity
    • ChimeSDKMediaPipelines
    • ChimeSDKMeetings
    • ChimeSDKMessaging
    • ChimeSDKVoice
    • CleanRoomsService
    • Cloud9
    • CloudControlApi
    • CloudDirectory
    • CloudFormation
    • CloudFront
    • CloudHSM
    • CloudHSMV2
    • CloudSearch
    • CloudSearchDomain
    • CloudTrail
    • CloudTrailDataService
    • CloudWatch
    • CodeArtifact
    • CodeBuild
    • CodeCatalyst
    • CodeCommit
    • CodeDeploy
    • CodeGuruReviewer
    • CodeGuruProfiler
    • CodePipeline
    • CodeStar
    • CodeStarconnections
    • CodeStarNotifications
    • CognitoIdentity
    • CognitoIdentityProvider
    • CognitoSync
    • Comprehend
    • ComprehendMedical
    • ComputeOptimizer
    • ConfigService
    • Connect
    • ConnectContactLens
    • ConnectCampaignService
    • ConnectCases
    • ConnectParticipant
    • ControlTower
    • CostandUsageReportService
    • CustomerProfiles
    • GlueDataBrew
    • DataExchange
    • DataPipeline
    • DataSync
    • DAX
    • Detective
    • DeviceFarm
    • DevOpsGuru
    • DirectConnect
    • ApplicationDiscoveryService
    • DLM
    • DatabaseMigrationService
    • DocDB
    • DocDBElastic
    • drs
    • DirectoryService
    • DynamoDB
    • DynamoDBStreams
    • EBS
    • EC2
      • Client
      • Paginators
      • Waiters
      • Resources
    • EC2InstanceConnect
    • ECR
    • ECRPublic
    • ECS
    • EFS
    • EKS
    • ElasticInference
    • ElastiCache
    • ElasticBeanstalk
    • ElasticTranscoder
    • ElasticLoadBalancing
    • ElasticLoadBalancingv2
    • EMR
    • EMRContainers
    • EMRServerless
    • ElasticsearchService
    • EventBridge
    • CloudWatchEvidently
    • finspace
    • FinSpaceData
    • Firehose
    • FIS
    • FMS
    • ForecastService
    • ForecastQueryService
    • FraudDetector
    • FSx
    • GameLift
    • GameSparks
    • Glacier
    • GlobalAccelerator
    • Glue
    • ManagedGrafana
    • Greengrass
    • GreengrassV2
    • GroundStation
    • GuardDuty
    • Health
    • HealthLake
    • Honeycode
    • IAM
    • IdentityStore
    • imagebuilder
    • ImportExport
    • Inspector
    • Inspector2
    • CloudWatchInternetMonitor
    • IoT
    • IoTDataPlane
    • IoTJobsDataPlane
    • IoTRoboRunner
    • IoT1ClickDevicesService
    • IoT1ClickProjects
    • IoTAnalytics
    • IoTDeviceAdvisor
    • IoTEvents
    • IoTEventsData
    • IoTFleetHub
    • IoTFleetWise
    • IoTSecureTunneling
    • IoTSiteWise
    • IoTThingsGraph
    • IoTTwinMaker
    • IoTWireless
    • IVS
    • ivschat
    • Kafka
    • KafkaConnect
    • kendra
    • KendraRanking
    • Keyspaces
    • Kinesis
    • KinesisVideoArchivedMedia
    • KinesisVideoMedia
    • KinesisVideoSignalingChannels
    • KinesisVideoWebRTCStorage
    • KinesisAnalytics
    • KinesisAnalyticsV2
    • KinesisVideo
    • KMS
    • LakeFormation
    • Lambda
    • LexModelBuildingService
    • LexRuntimeService
    • LexModelsV2
    • LexRuntimeV2
    • LicenseManager
    • LicenseManagerLinuxSubscriptions
    • LicenseManagerUserSubscriptions
    • Lightsail
    • LocationService
    • CloudWatchLogs
    • LookoutEquipment
    • LookoutMetrics
    • LookoutforVision
    • MainframeModernization
    • MachineLearning
    • Macie
    • Macie2
    • ManagedBlockchain
    • MarketplaceCatalog
    • MarketplaceEntitlementService
    • MarketplaceCommerceAnalytics
    • MediaConnect
    • MediaConvert
    • MediaLive
    • MediaPackage
    • MediaPackageVod
    • MediaStore
    • MediaStoreData
    • MediaTailor
    • MemoryDB
    • MarketplaceMetering
    • MigrationHub
    • mgn
    • MigrationHubRefactorSpaces
    • MigrationHubConfig
    • MigrationHubOrchestrator
    • MigrationHubStrategyRecommendations
    • Mobile
    • MQ
    • MTurk
    • MWAA
    • Neptune
    • NetworkFirewall
    • NetworkManager
    • NimbleStudio
    • CloudWatchObservabilityAccessManager
    • Omics
    • OpenSearchService
    • OpenSearchServiceServerless
    • OpsWorks
    • OpsWorksCM
    • Organizations
    • Outposts
    • Panorama
    • Personalize
    • PersonalizeEvents
    • PersonalizeRuntime
    • PI
    • Pinpoint
    • PinpointEmail
    • PinpointSMSVoice
    • PinpointSMSVoiceV2
    • EventBridgePipes
    • Polly
    • Pricing
    • Private5G
    • Proton
    • QLDB
    • QLDBSession
    • QuickSight
    • RAM
    • RecycleBin
    • RDS
    • RDSDataService
    • Redshift
    • RedshiftDataAPIService
    • RedshiftServerless
    • Rekognition
    • ResilienceHub
    • ResourceExplorer
    • ResourceGroups
    • ResourceGroupsTaggingAPI
    • RoboMaker
    • IAMRolesAnywhere
    • Route53
    • Route53RecoveryCluster
    • Route53RecoveryControlConfig
    • Route53RecoveryReadiness
    • Route53Domains
    • Route53Resolver
    • CloudWatchRUM
    • S3
    • S3Control
    • S3Outposts
    • SageMaker
    • AugmentedAIRuntime
    • SagemakerEdgeManager
    • SageMakerFeatureStoreRuntime
    • SageMakergeospatialcapabilities
    • SageMakerMetrics
    • SageMakerRuntime
    • SavingsPlans
    • EventBridgeScheduler
    • Schemas
    • SimpleDB
    • SecretsManager
    • SecurityHub
    • SecurityLake
    • ServerlessApplicationRepository
    • ServiceQuotas
    • ServiceCatalog
    • AppRegistry
    • ServiceDiscovery
    • SES
    • SESV2
    • Shield
    • signer
    • SimSpaceWeaver
    • SMS
    • PinpointSMSVoice
    • SnowDeviceManagement
    • Snowball
    • SNS
    • SQS
    • SSM
    • SSMContacts
    • SSMIncidents
    • SsmSap
    • SSO
    • SSOAdmin
    • SSOOIDC
    • SFN
    • StorageGateway
    • STS
    • Support
    • SupportApp
    • SWF
    • Synthetics
    • Textract
    • TimestreamQuery
    • TimestreamWrite
    • TelcoNetworkBuilder
    • TranscribeService
    • Transfer
    • Translate
    • VoiceID
    • WAF
    • WAFRegional
    • WAFV2
    • WellArchitected
    • ConnectWisdomService
    • WorkDocs
    • WorkLink
    • WorkMail
    • WorkMailMessageFlow
    • WorkSpaces
    • WorkSpacesWeb
    • XRay
  • Core references
  • Customization references
  1. Docs
  2. Available services
  3. EC2
  4. advertise_byoip_cidr

advertise_byoip_cidr¶

EC2.Client.advertise_byoip_cidr(**kwargs)¶

Advertises an IPv4 or IPv6 address range that is provisioned for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP).

You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time.

We recommend that you stop advertising the BYOIP CIDR from other locations when you advertise it from Amazon Web Services. To minimize down time, you can configure your Amazon Web Services resources to use an address from a BYOIP CIDR before it is advertised, and then simultaneously stop advertising it from the current location and start advertising it through Amazon Web Services.

It can take a few minutes before traffic to the specified addresses starts routing to Amazon Web Services because of BGP propagation delays.

To stop advertising the BYOIP CIDR, use WithdrawByoipCidr.

See also: AWS API Documentation

Request Syntax

response = client.advertise_byoip_cidr(
    Cidr='string',
    DryRun=True|False
)
Parameters
  • Cidr (string) --

    [REQUIRED]

    The address range, in CIDR notation. This must be the exact range that you provisioned. You can't advertise only a portion of the provisioned range.

  • DryRun (boolean) -- 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 .
Return type

dict

Returns

Response Syntax

{
    'ByoipCidr': {
        'Cidr': 'string',
        'Description': 'string',
        'StatusMessage': 'string',
        'State': 'advertised'|'deprovisioned'|'failed-deprovision'|'failed-provision'|'pending-deprovision'|'pending-provision'|'provisioned'|'provisioned-not-publicly-advertisable'
    }
}

Response Structure

  • (dict) --

    • ByoipCidr (dict) --

      Information about the address range.

      • Cidr (string) --

        The address range, in CIDR notation.

      • Description (string) --

        The description of the address range.

      • StatusMessage (string) --

        Upon success, contains the ID of the address pool. Otherwise, contains an error message.

      • State (string) --

        The state of the address pool.

accept_vpc_peering_connection
allocate_address

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Boto3 Docs 1.26.93 documentation »
  • Available services »
  • EC2 »
Privacy | Site Terms | Cookie preferences | © Copyright 2023, Amazon Web Services, Inc. Created using Sphinx.