Les traductions sont fournies par des outils de traduction automatique. En cas de conflit entre le contenu d'une traduction et celui de la version originale en anglais, la version anglaise prévaudra.
Exemples de base pour Amazon EC2 utilisant AWS SDKs
Les exemples de code suivants montrent comment utiliser les bases d'Amazon Elastic Compute Cloud avec AWS SDKs.
Exemples
- Bonjour Amazon EC2
- Apprenez les bases
- Actions
- AcceptVpcPeeringConnection
- AllocateAddress
- AllocateHosts
- AssignPrivateIpAddresses
- AssociateAddress
- AssociateDhcpOptions
- AssociateRouteTable
- AttachInternetGateway
- AttachNetworkInterface
- AttachVolume
- AttachVpnGateway
- AuthorizeSecurityGroupEgress
- AuthorizeSecurityGroupIngress
- CancelCapacityReservation
- CancelImportTask
- CancelSpotFleetRequests
- CancelSpotInstanceRequests
- ConfirmProductInstance
- CopyImage
- CopySnapshot
- CreateCapacityReservation
- CreateCustomerGateway
- CreateDhcpOptions
- CreateFlowLogs
- CreateImage
- CreateInstanceExportTask
- CreateInternetGateway
- CreateKeyPair
- CreateLaunchTemplate
- CreateNetworkAcl
- CreateNetworkAclEntry
- CreateNetworkInterface
- CreatePlacementGroup
- CreateRoute
- CreateRouteTable
- CreateSecurityGroup
- CreateSnapshot
- CreateSpotDatafeedSubscription
- CreateSubnet
- CreateTags
- CreateVolume
- CreateVpc
- CreateVpcEndpoint
- CreateVpnConnection
- CreateVpnConnectionRoute
- CreateVpnGateway
- DeleteCustomerGateway
- DeleteDhcpOptions
- DeleteFlowLogs
- DeleteInternetGateway
- DeleteKeyPair
- DeleteLaunchTemplate
- DeleteNetworkAcl
- DeleteNetworkAclEntry
- DeleteNetworkInterface
- DeletePlacementGroup
- DeleteRoute
- DeleteRouteTable
- DeleteSecurityGroup
- DeleteSnapshot
- DeleteSpotDatafeedSubscription
- DeleteSubnet
- DeleteTags
- DeleteVolume
- DeleteVpc
- DeleteVpcEndpoint
- DeleteVpnConnection
- DeleteVpnConnectionRoute
- DeleteVpnGateway
- DeregisterImage
- DescribeAccountAttributes
- DescribeAddresses
- DescribeAvailabilityZones
- DescribeBundleTasks
- DescribeCapacityReservations
- DescribeCustomerGateways
- DescribeDhcpOptions
- DescribeFlowLogs
- DescribeHostReservationOfferings
- DescribeHosts
- DescribeIamInstanceProfileAssociations
- DescribeIdFormat
- DescribeIdentityIdFormat
- DescribeImageAttribute
- DescribeImages
- DescribeImportImageTasks
- DescribeImportSnapshotTasks
- DescribeInstanceAttribute
- DescribeInstanceStatus
- DescribeInstanceTypes
- DescribeInstances
- DescribeInternetGateways
- DescribeKeyPairs
- DescribeNetworkAcls
- DescribeNetworkInterfaceAttribute
- DescribeNetworkInterfaces
- DescribePlacementGroups
- DescribePrefixLists
- DescribeRegions
- DescribeRouteTables
- DescribeScheduledInstanceAvailability
- DescribeScheduledInstances
- DescribeSecurityGroups
- DescribeSnapshotAttribute
- DescribeSnapshots
- DescribeSpotDatafeedSubscription
- DescribeSpotFleetInstances
- DescribeSpotFleetRequestHistory
- DescribeSpotFleetRequests
- DescribeSpotInstanceRequests
- DescribeSpotPriceHistory
- DescribeSubnets
- DescribeTags
- DescribeVolumeAttribute
- DescribeVolumeStatus
- DescribeVolumes
- DescribeVpcAttribute
- DescribeVpcClassicLink
- DescribeVpcClassicLinkDnsSupport
- DescribeVpcEndpointServices
- DescribeVpcEndpoints
- DescribeVpcs
- DescribeVpnConnections
- DescribeVpnGateways
- DetachInternetGateway
- DetachNetworkInterface
- DetachVolume
- DetachVpnGateway
- DisableVgwRoutePropagation
- DisableVpcClassicLink
- DisableVpcClassicLinkDnsSupport
- DisassociateAddress
- DisassociateRouteTable
- EnableVgwRoutePropagation
- EnableVolumeIo
- EnableVpcClassicLink
- EnableVpcClassicLinkDnsSupport
- GetConsoleOutput
- GetHostReservationPurchasePreview
- GetPasswordData
- ImportImage
- ImportKeyPair
- ImportSnapshot
- ModifyCapacityReservation
- ModifyHosts
- ModifyIdFormat
- ModifyImageAttribute
- ModifyInstanceAttribute
- ModifyInstanceCreditSpecification
- ModifyNetworkInterfaceAttribute
- ModifyReservedInstances
- ModifySnapshotAttribute
- ModifySpotFleetRequest
- ModifySubnetAttribute
- ModifyVolumeAttribute
- ModifyVpcAttribute
- MonitorInstances
- MoveAddressToVpc
- PurchaseHostReservation
- PurchaseScheduledInstances
- RebootInstances
- RegisterImage
- RejectVpcPeeringConnection
- ReleaseAddress
- ReleaseHosts
- ReplaceIamInstanceProfileAssociation
- ReplaceNetworkAclAssociation
- ReplaceNetworkAclEntry
- ReplaceRoute
- ReplaceRouteTableAssociation
- ReportInstanceStatus
- RequestSpotFleet
- RequestSpotInstances
- ResetImageAttribute
- ResetInstanceAttribute
- ResetNetworkInterfaceAttribute
- ResetSnapshotAttribute
- RevokeSecurityGroupEgress
- RevokeSecurityGroupIngress
- RunInstances
- RunScheduledInstances
- StartInstances
- StopInstances
- TerminateInstances
- UnassignPrivateIpAddresses
- UnmonitorInstances
- UpdateSecurityGroupRuleDescriptionsIngress