awscli 1.40.17__py3-none-any.whl → 1.44.26__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- awscli/__init__.py +1 -1
- awscli/alias.py +3 -3
- awscli/argprocess.py +7 -2
- awscli/arguments.py +1 -1
- awscli/bcdoc/docevents.py +3 -0
- awscli/clidocs.py +19 -2
- awscli/clidriver.py +57 -10
- awscli/compat.py +11 -0
- awscli/customizations/argrename.py +1 -3
- awscli/customizations/cliinputjson.py +4 -0
- awscli/customizations/cloudformation/deploy.py +23 -6
- awscli/customizations/cloudformation/deployer.py +2 -2
- awscli/customizations/cloudformation/package.py +3 -2
- awscli/customizations/cloudfront.py +3 -1
- awscli/customizations/cloudtrail/subscribe.py +5 -5
- awscli/customizations/cloudtrail/validation.py +32 -11
- awscli/customizations/codecommit.py +2 -3
- awscli/customizations/codedeploy/deregister.py +5 -2
- awscli/customizations/codedeploy/push.py +7 -6
- awscli/customizations/codedeploy/register.py +5 -2
- awscli/customizations/codedeploy/systems.py +3 -1
- awscli/customizations/commands.py +2 -1
- awscli/customizations/configservice/getstatus.py +3 -3
- awscli/customizations/datapipeline/__init__.py +7 -4
- awscli/customizations/datapipeline/createdefaultroles.py +4 -2
- awscli/customizations/dlm/createdefaultrole.py +4 -2
- awscli/customizations/ec2/bundleinstance.py +2 -1
- awscli/customizations/eks/get_token.py +6 -4
- awscli/customizations/eks/update_kubeconfig.py +15 -3
- awscli/customizations/emr/argumentschema.py +355 -344
- awscli/customizations/emr/createcluster.py +520 -282
- awscli/customizations/emr/emrutils.py +83 -50
- awscli/customizations/emr/helptext.py +132 -74
- awscli/customizations/emr/steputils.py +92 -52
- awscli/customizations/gamelift/getlog.py +3 -2
- awscli/customizations/gamelift/uploadbuild.py +30 -15
- awscli/customizations/globalargs.py +169 -0
- awscli/customizations/logs/startlivetail.py +3 -3
- awscli/customizations/paginate.py +66 -1
- awscli/customizations/rds.py +3 -1
- awscli/customizations/removals.py +4 -0
- awscli/customizations/s3/filegenerator.py +7 -1
- awscli/customizations/s3/fileinfo.py +5 -1
- awscli/customizations/s3/fileinfobuilder.py +7 -0
- awscli/customizations/s3/s3handler.py +11 -0
- awscli/customizations/s3/subcommands.py +147 -6
- awscli/customizations/s3/syncstrategy/base.py +9 -0
- awscli/customizations/s3/syncstrategy/caseconflict.py +96 -0
- awscli/customizations/s3/utils.py +25 -0
- awscli/customizations/s3uploader.py +18 -8
- awscli/customizations/scalarparse.py +48 -9
- awscli/customizations/utils.py +2 -1
- awscli/customizations/waiters.py +3 -2
- awscli/data/cli.json +5 -0
- awscli/examples/apigateway/update-vpc-link.rst +47 -0
- awscli/examples/apigatewayv2/create-routing-rule.rst +52 -0
- awscli/examples/apigatewayv2/delete-routing-rule.rst +11 -0
- awscli/examples/apigatewayv2/get-routing-rule.rst +35 -0
- awscli/examples/apigatewayv2/list-routing-rules.rst +38 -0
- awscli/examples/apigatewayv2/put-routing-rule.rst +52 -0
- awscli/examples/application-signals/batch-get-service-level-objective-budget-report.rst +99 -0
- awscli/examples/application-signals/create-service-level-objective.rst +88 -0
- awscli/examples/application-signals/delete-service-level-objective.rst +10 -0
- awscli/examples/application-signals/get-service-level-objective.rst +53 -0
- awscli/examples/application-signals/get-service.rst +72 -0
- awscli/examples/application-signals/list-service-dependencies.rst +96 -0
- awscli/examples/application-signals/list-service-dependents.rst +36 -0
- awscli/examples/application-signals/list-service-level-objectives.rst +17 -0
- awscli/examples/application-signals/list-service-operations.rst +63 -0
- awscli/examples/application-signals/list-services.rst +61 -0
- awscli/examples/application-signals/list-tags-for-resource.rst +17 -0
- awscli/examples/application-signals/start-discovery.rst +9 -0
- awscli/examples/application-signals/tag-resource.rst +11 -0
- awscli/examples/application-signals/untag-resource.rst +11 -0
- awscli/examples/application-signals/update-service-level-objective.rst +69 -0
- awscli/examples/cloudformation/_package_description.rst +4 -4
- awscli/examples/cloudformation/create-generated-template.rst +50 -0
- awscli/examples/cloudformation/create-stack-refactor.rst +16 -0
- awscli/examples/cloudformation/delete-generated-template.rst +10 -0
- awscli/examples/cloudformation/describe-generated-template.rst +62 -0
- awscli/examples/cloudformation/describe-resource-scan.rst +38 -0
- awscli/examples/cloudformation/describe-stack-refactor.rst +20 -0
- awscli/examples/cloudformation/execute-stack-refactor.rst +10 -0
- awscli/examples/cloudformation/list-generated-templates.rst +41 -0
- awscli/examples/cloudformation/list-resource-scan-related-resources.rst +47 -0
- awscli/examples/cloudformation/list-resource-scan-resources.rst +30 -0
- awscli/examples/cloudformation/list-stack-refactor-actions.rst +71 -0
- awscli/examples/cloudformation/start-resource-scan.rst +14 -0
- awscli/examples/cloudfront/associate-distribution-tenant-web-acl.rst +18 -0
- awscli/examples/cloudfront/associate-distribution-web-acl.rst +18 -0
- awscli/examples/cloudfront/create-connection-group.rst +39 -0
- awscli/examples/cloudfront/create-distribution-tenant.rst +275 -0
- awscli/examples/cloudfront/create-distribution.rst +625 -235
- awscli/examples/cloudfront/create-invalidation-for-distribution-tenant.rst +29 -0
- awscli/examples/cloudfront/delete-connection-group.rst +11 -0
- awscli/examples/cloudfront/delete-distribution-tenant.rst +11 -0
- awscli/examples/cloudfront/disassociate-distribution-tenant-web-acl.rst +16 -0
- awscli/examples/cloudfront/disassociate-distribution-web-acl.rst +16 -0
- awscli/examples/cloudfront/get-connection-group-by-routing-endpoint.rst +26 -0
- awscli/examples/cloudfront/get-connection-group.rst +26 -0
- awscli/examples/cloudfront/get-distribution-tenant-by-domain.rst +37 -0
- awscli/examples/cloudfront/get-distribution-tenant.rst +31 -0
- awscli/examples/cloudfront/get-invalidation-for-distribution-tenant.rst +29 -0
- awscli/examples/cloudfront/get-managed-certificate-details.rst +25 -0
- awscli/examples/cloudfront/list-connection-groups.rst +38 -0
- awscli/examples/cloudfront/list-distribution-tenants-by-customization.rst +45 -0
- awscli/examples/cloudfront/list-distribution-tenants.rst +90 -0
- awscli/examples/cloudfront/list-distributions-by-connection-mode.rst +115 -0
- awscli/examples/cloudfront/list-domain-conflicts.rst +22 -0
- awscli/examples/cloudfront/list-invalidations-for-distribution-tenant.rst +22 -0
- awscli/examples/cloudfront/update-connection-group.rst +29 -0
- awscli/examples/cloudfront/update-distribution-tenant.rst +76 -0
- awscli/examples/cloudfront/update-domain-association.rst +18 -0
- awscli/examples/cloudfront/verify-dns-configuration.rst +20 -0
- awscli/examples/ec2/associate-ipam-resource-discovery.rst +1 -1
- awscli/examples/ec2/authorize-security-group-ingress.rst +1 -1
- awscli/examples/ec2/create-ipam-resource-discovery.rst +1 -1
- awscli/examples/ec2/delete-ipam-pool.rst +1 -1
- awscli/examples/ec2/describe-addresses-attribute.rst +1 -1
- awscli/examples/ec2/get-ipam-discovered-public-addresses.rst +1 -1
- awscli/examples/ec2/modify-ipam-resource-discovery.rst +1 -1
- awscli/examples/ec2/modify-ipam-scope.rst +1 -1
- awscli/examples/ec2/release-ipam-pool-allocation.rst +3 -3
- awscli/examples/eks/associate-access-policy.rst +29 -0
- awscli/examples/eks/create-access-entry.rst +54 -0
- awscli/examples/eks/create-pod-identity-association.rst +59 -0
- awscli/examples/eks/delete-access-entry.rst +11 -0
- awscli/examples/eks/delete-pod-identity-association.rst +28 -0
- awscli/examples/eks/describe-access-entry.rst +25 -0
- awscli/examples/eks/describe-insight.rst +36 -0
- awscli/examples/eks/describe-pod-identity-association.rst +28 -0
- awscli/examples/eks/disassociate-access-policy.rst +12 -0
- awscli/examples/eks/list-access-entries.rst +19 -0
- awscli/examples/eks/list-access-policies.rst +90 -0
- awscli/examples/eks/list-associated-access-policies.rst +27 -0
- awscli/examples/eks/list-insights.rst +67 -0
- awscli/examples/eks/list-pod-identity-associations.rst +61 -0
- awscli/examples/eks/update-access-entry.rst +28 -0
- awscli/examples/eks/update-pod-identity-association.rst +29 -0
- awscli/examples/elbv2/modify-listener.rst +95 -86
- awscli/examples/emr/create-cluster-synopsis.txt +1 -0
- awscli/examples/global_options.rst +4 -0
- awscli/examples/global_synopsis.rst +1 -0
- awscli/examples/guardduty/update-detector.rst +23 -0
- awscli/examples/ivs-realtime/create-stage.rst +6 -3
- awscli/examples/ivs-realtime/get-composition.rst +7 -4
- awscli/examples/ivs-realtime/get-participant.rst +99 -31
- awscli/examples/ivs-realtime/get-stage.rst +3 -2
- awscli/examples/ivs-realtime/list-participant-events.rst +54 -2
- awscli/examples/ivs-realtime/list-participant-replicas.rst +24 -0
- awscli/examples/ivs-realtime/list-participants.rst +61 -3
- awscli/examples/ivs-realtime/start-composition.rst +88 -3
- awscli/examples/ivs-realtime/start-participant-replication.rst +24 -0
- awscli/examples/ivs-realtime/stop-participant-replication.rst +24 -0
- awscli/examples/ivs-realtime/update-stage.rst +51 -3
- awscli/examples/kms/create-key.rst +42 -7
- awscli/examples/kms/delete-imported-key-material.rst +8 -2
- awscli/examples/kms/describe-key.rst +2 -0
- awscli/examples/kms/disable-key.rst +1 -1
- awscli/examples/kms/generate-data-key-pair-without-plaintext.rst +1 -0
- awscli/examples/kms/generate-data-key-pair.rst +1 -0
- awscli/examples/kms/generate-data-key-without-plaintext.rst +2 -1
- awscli/examples/kms/generate-data-key.rst +5 -4
- awscli/examples/kms/generate-mac.rst +45 -0
- awscli/examples/kms/generate-random.rst +1 -1
- awscli/examples/kms/get-public-key.rst +2 -3
- awscli/examples/kms/import-key-material.rst +6 -1
- awscli/examples/kms/re-encrypt.rst +3 -3
- awscli/examples/kms/sign.rst +1 -1
- awscli/examples/kms/verify-mac.rst +27 -0
- awscli/examples/kms/verify.rst +5 -1
- awscli/examples/lambda/create-function.rst +4 -4
- awscli/examples/lambda/get-function.rst +3 -3
- awscli/examples/lambda/list-functions.rst +6 -6
- awscli/examples/medical-imaging/create-datastore.rst +19 -2
- awscli/examples/medical-imaging/get-datastore.rst +24 -1
- awscli/examples/networkmanager/get-vpc-attachment.rst +1 -1
- awscli/examples/omics/cancel-run.rst +1 -1
- awscli/examples/omics/create-run-group.rst +4 -2
- awscli/examples/omics/create-workflow.rst +1 -1
- awscli/examples/omics/delete-run-group.rst +1 -1
- awscli/examples/omics/delete-run.rst +1 -1
- awscli/examples/omics/delete-workflow.rst +1 -1
- awscli/examples/omics/get-run-group.rst +1 -1
- awscli/examples/omics/get-run-task.rst +1 -1
- awscli/examples/omics/get-run.rst +1 -1
- awscli/examples/omics/get-workflow.rst +1 -1
- awscli/examples/omics/list-run-groups.rst +1 -1
- awscli/examples/omics/list-run-tasks.rst +1 -1
- awscli/examples/omics/list-runs.rst +1 -1
- awscli/examples/omics/list-workflows.rst +1 -1
- awscli/examples/omics/start-run.rst +1 -2
- awscli/examples/omics/update-workflow.rst +1 -1
- awscli/examples/pi/create-performance-analysis-report.rst +17 -0
- awscli/examples/pi/delete-performance-analysis-report.rst +12 -0
- awscli/examples/pi/describe-dimension-keys.rst +33 -1
- awscli/examples/pi/get-dimension-key-details.rst +25 -0
- awscli/examples/pi/get-performance-analysis-report.rst +27 -0
- awscli/examples/pi/get-resource-metadata.rst +20 -0
- awscli/examples/pi/list-available-resource-dimensions.rst +48 -0
- awscli/examples/pi/list-available-resource-metrics.rst +29 -0
- awscli/examples/pi/list-performance-analysis-reports.rst +44 -0
- awscli/examples/pi/list-tags-for-resource.rst +20 -0
- awscli/examples/pi/tag-resource.rst +12 -0
- awscli/examples/pi/untag-resource.rst +12 -0
- awscli/examples/route53domains/get-domain-detail.rst +3 -3
- awscli/examples/securityhub/describe-hub.rst +6 -4
- awscli/examples/servicediscovery/create-service.rst +50 -10
- awscli/examples/servicediscovery/delete-namespace.rst +18 -4
- awscli/examples/servicediscovery/delete-service-attributes.rst +15 -3
- awscli/examples/servicediscovery/delete-service.rst +13 -3
- awscli/examples/servicediscovery/deregister-instance.rst +18 -2
- awscli/examples/servicediscovery/discover-instances-revision.rst +18 -1
- awscli/examples/servicediscovery/discover-instances.rst +32 -2
- awscli/examples/servicediscovery/get-instance.rst +30 -4
- awscli/examples/servicediscovery/get-instances-health-status.rst +19 -1
- awscli/examples/servicediscovery/get-namespace.rst +40 -9
- awscli/examples/servicediscovery/get-operation.rst +32 -6
- awscli/examples/servicediscovery/get-service-attributes.rst +25 -3
- awscli/examples/servicediscovery/get-service.rst +35 -7
- awscli/examples/servicediscovery/list-instances.rst +38 -3
- awscli/examples/servicediscovery/list-namespaces.rst +45 -22
- awscli/examples/servicediscovery/list-services.rst +30 -2
- awscli/examples/servicediscovery/register-instance.rst +18 -2
- awscli/examples/servicediscovery/update-http-namespace.rst +22 -5
- awscli/examples/servicediscovery/update-instance-custom-health-status.rst +14 -1
- awscli/examples/servicediscovery/update-private-dns-namespace.rst +22 -5
- awscli/examples/servicediscovery/update-public-dns-namespace.rst +22 -5
- awscli/examples/servicediscovery/update-service-attributes.rst +14 -2
- awscli/examples/servicediscovery/update-service.rst +20 -4
- awscli/examples/ssm/put-parameter.rst +6 -6
- awscli/examples/verifiedpermissions/update-policy.rst +10 -78
- awscli/examples/workspaces/describe-workspace-directories.rst +1 -2
- awscli/examples/workspaces/register-workspace-directory.rst +2 -3
- awscli/handlers.py +0 -4
- awscli/paramfile.py +21 -4
- awscli/testutils.py +22 -4
- awscli/topics/config-vars.rst +1 -1
- awscli/topics/s3-case-insensitivity.rst +105 -0
- awscli/topics/topic-tags.json +16 -0
- awscli/utils.py +33 -2
- {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/METADATA +18 -3
- {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/RECORD +251 -308
- awscli/customizations/opsworks.py +0 -543
- awscli/customizations/opsworkscm.py +0 -21
- awscli/examples/elastictranscoder/cancel-job.rst +0 -8
- awscli/examples/elastictranscoder/create-job.rst +0 -94
- awscli/examples/elastictranscoder/create-pipeline.rst +0 -94
- awscli/examples/elastictranscoder/create-preset.rst +0 -141
- awscli/examples/elastictranscoder/delete-pipeline.rst +0 -13
- awscli/examples/elastictranscoder/delete-preset.rst +0 -8
- awscli/examples/elastictranscoder/list-jobs-by-pipeline.rst +0 -13
- awscli/examples/elastictranscoder/list-jobs-by-status.rst +0 -14
- awscli/examples/elastictranscoder/list-pipelines.rst +0 -84
- awscli/examples/elastictranscoder/list-presets.rst +0 -95
- awscli/examples/elastictranscoder/read-job.rst +0 -65
- awscli/examples/elastictranscoder/read-pipeline.rst +0 -59
- awscli/examples/elastictranscoder/read-preset.rst +0 -100
- awscli/examples/elastictranscoder/update-pipeline-notifications.rst +0 -52
- awscli/examples/elastictranscoder/update-pipeline-status.rst +0 -53
- awscli/examples/elastictranscoder/update-pipeline.rst +0 -95
- awscli/examples/opsworks/assign-instance.rst +0 -14
- awscli/examples/opsworks/assign-volume.rst +0 -17
- awscli/examples/opsworks/associate-elastic-ip.rst +0 -14
- awscli/examples/opsworks/attach-elastic-load-balancer.rst +0 -14
- awscli/examples/opsworks/create-app.rst +0 -64
- awscli/examples/opsworks/create-deployment.rst +0 -66
- awscli/examples/opsworks/create-instance.rst +0 -25
- awscli/examples/opsworks/create-layer.rst +0 -17
- awscli/examples/opsworks/create-server.rst +0 -43
- awscli/examples/opsworks/create-stack.rst +0 -25
- awscli/examples/opsworks/create-user-profile.rst +0 -24
- awscli/examples/opsworks/delete-app.rst +0 -17
- awscli/examples/opsworks/delete-instance.rst +0 -15
- awscli/examples/opsworks/delete-layer.rst +0 -17
- awscli/examples/opsworks/delete-stack.rst +0 -18
- awscli/examples/opsworks/delete-user-profile.rst +0 -17
- awscli/examples/opsworks/deregister-elastic-ip.rst +0 -13
- awscli/examples/opsworks/deregister-instance.rst +0 -14
- awscli/examples/opsworks/deregister-rds-db-instance.rst +0 -20
- awscli/examples/opsworks/deregister-volume.rst +0 -15
- awscli/examples/opsworks/describe-apps.rst +0 -38
- awscli/examples/opsworks/describe-commands.rst +0 -43
- awscli/examples/opsworks/describe-deployments.rst +0 -52
- awscli/examples/opsworks/describe-elastic-ips.rst +0 -24
- awscli/examples/opsworks/describe-elastic-load-balancers.rst +0 -37
- awscli/examples/opsworks/describe-instances.rst +0 -95
- awscli/examples/opsworks/describe-layers.rst +0 -171
- awscli/examples/opsworks/describe-load-based-auto-scaling.rst +0 -37
- awscli/examples/opsworks/describe-my-user-profile.rst +0 -24
- awscli/examples/opsworks/describe-permissions.rst +0 -26
- awscli/examples/opsworks/describe-raid-arrays.rst +0 -31
- awscli/examples/opsworks/describe-rds-db-instances.rst +0 -29
- awscli/examples/opsworks/describe-stack-provisioning-parameters.rst +0 -32
- awscli/examples/opsworks/describe-stack-summary.rst +0 -27
- awscli/examples/opsworks/describe-stacks.rst +0 -65
- awscli/examples/opsworks/describe-timebased-auto-scaling.rst +0 -39
- awscli/examples/opsworks/describe-user-profiles.rst +0 -32
- awscli/examples/opsworks/describe-volumes.rst +0 -31
- awscli/examples/opsworks/detach-elastic-load-balancer.rst +0 -14
- awscli/examples/opsworks/disassociate-elastic-ip.rst +0 -14
- awscli/examples/opsworks/get-hostname-suggestion.rst +0 -21
- awscli/examples/opsworks/reboot-instance.rst +0 -14
- awscli/examples/opsworks/register-elastic-ip.rst +0 -19
- awscli/examples/opsworks/register-rds-db-instance.rst +0 -15
- awscli/examples/opsworks/register-volume.rst +0 -18
- awscli/examples/opsworks/register.rst +0 -105
- awscli/examples/opsworks/set-load-based-auto-scaling.rst +0 -38
- awscli/examples/opsworks/set-permission.rst +0 -23
- awscli/examples/opsworks/set-time-based-auto-scaling.rst +0 -33
- awscli/examples/opsworks/start-instance.rst +0 -20
- awscli/examples/opsworks/start-stack.rst +0 -15
- awscli/examples/opsworks/stop-instance.rst +0 -20
- awscli/examples/opsworks/stop-stack.rst +0 -15
- awscli/examples/opsworks/unassign-instance.rst +0 -14
- awscli/examples/opsworks/unassign-volume.rst +0 -16
- awscli/examples/opsworks/update-app.rst +0 -14
- awscli/examples/opsworks/update-elastic-ip.rst +0 -14
- awscli/examples/opsworks/update-instance.rst +0 -14
- awscli/examples/opsworks/update-layer.rst +0 -14
- awscli/examples/opsworks/update-my-user-profile.rst +0 -16
- awscli/examples/opsworks/update-rds-db-instance.rst +0 -18
- awscli/examples/opsworks/update-volume.rst +0 -16
- awscli/examples/opsworkscm/associate-node.rst +0 -22
- awscli/examples/opsworkscm/create-backup.rst +0 -46
- awscli/examples/opsworkscm/create-server.rst +0 -48
- awscli/examples/opsworkscm/delete-backup.rst +0 -17
- awscli/examples/opsworkscm/delete-server.rst +0 -16
- awscli/examples/opsworkscm/describe-account-attributes.rst +0 -26
- awscli/examples/opsworkscm/describe-backups.rst +0 -44
- awscli/examples/opsworkscm/describe-events.rst +0 -21
- awscli/examples/opsworkscm/describe-node-association-status.rst +0 -20
- awscli/examples/opsworkscm/describe-servers.rst +0 -48
- awscli/examples/opsworkscm/disassociate-node.rst +0 -19
- awscli/examples/opsworkscm/restore-server.rst +0 -20
- awscli/examples/opsworkscm/start-maintenance.rst +0 -39
- awscli/examples/opsworkscm/update-server-engine-attributes.rst +0 -43
- awscli/examples/opsworkscm/update-server.rst +0 -42
- awscli/examples/qldb/cancel-journal-kinesis-stream.rst +0 -15
- awscli/examples/qldb/create-ledger.rst +0 -43
- awscli/examples/qldb/delete-ledger.rst +0 -10
- awscli/examples/qldb/describe-journal-kinesis-stream.rst +0 -29
- awscli/examples/qldb/describe-journal-s3-export.rst +0 -30
- awscli/examples/qldb/describe-ledger.rst +0 -23
- awscli/examples/qldb/export-journal-to-s3.rst +0 -28
- awscli/examples/qldb/get-block.rst +0 -55
- awscli/examples/qldb/get-digest.rst +0 -17
- awscli/examples/qldb/get-revision.rst +0 -57
- awscli/examples/qldb/list-journal-kinesis-streams-for-ledger.rst +0 -30
- awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst +0 -31
- awscli/examples/qldb/list-journal-s3-exports.rst +0 -46
- awscli/examples/qldb/list-ledgers.rst +0 -24
- awscli/examples/qldb/list-tags-for-resource.rst +0 -17
- awscli/examples/qldb/stream-journal-to-kinesis.rst +0 -46
- awscli/examples/qldb/tag-resource.rst +0 -11
- awscli/examples/qldb/untag-resource.rst +0 -11
- awscli/examples/qldb/update-ledger-permissions-mode.rst +0 -34
- awscli/examples/qldb/update-ledger.rst +0 -63
- awscli/examples/robomaker/batch-describe-simulation-job.rst +0 -150
- awscli/examples/robomaker/cancel-simulation-job.rst +0 -6
- awscli/examples/robomaker/create-deployment-job.rst +0 -37
- awscli/examples/robomaker/create-fleet.rst +0 -18
- awscli/examples/robomaker/create-robot-application-version.rst +0 -31
- awscli/examples/robomaker/create-robot-application.rst +0 -29
- awscli/examples/robomaker/create-robot.rst +0 -20
- awscli/examples/robomaker/create-simulation-application-version.rst +0 -39
- awscli/examples/robomaker/create-simulation-application.rst +0 -38
- awscli/examples/robomaker/create-simulation-job.rst +0 -43
- awscli/examples/robomaker/delete-fleet.rst +0 -7
- awscli/examples/robomaker/delete-robot-application.rst +0 -7
- awscli/examples/robomaker/delete-robot.rst +0 -7
- awscli/examples/robomaker/delete-simulation-application.rst +0 -7
- awscli/examples/robomaker/deregister-robot.rst +0 -14
- awscli/examples/robomaker/describe-deployment-job.rst +0 -38
- awscli/examples/robomaker/describe-fleet.rst +0 -28
- awscli/examples/robomaker/describe-robot-application.rst +0 -29
- awscli/examples/robomaker/describe-robot.rst +0 -21
- awscli/examples/robomaker/describe-simulation-application.rst +0 -37
- awscli/examples/robomaker/describe-simulation-job.rst +0 -45
- awscli/examples/robomaker/list-deployment-jobs.rst +0 -57
- awscli/examples/robomaker/list-fleets.rst +0 -22
- awscli/examples/robomaker/list-robot-applications.rst +0 -32
- awscli/examples/robomaker/list-robots.rst +0 -45
- awscli/examples/robomaker/list-simulation-applications.rst +0 -50
- awscli/examples/robomaker/list-simulation-jobs.rst +0 -80
- awscli/examples/robomaker/list-tags-for-resource.rst +0 -16
- awscli/examples/robomaker/register-robot.rst +0 -14
- awscli/examples/robomaker/restart-simulation-job.rst +0 -7
- awscli/examples/robomaker/sync-deployment-job.rst +0 -30
- awscli/examples/robomaker/tag-resource.rst +0 -7
- awscli/examples/robomaker/untag-resource.rst +0 -7
- awscli/examples/robomaker/update-robot-application.rst +0 -28
- awscli/examples/robomaker/update-simulation-application.rst +0 -36
- {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws +0 -0
- {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws.cmd +0 -0
- {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws_bash_completer +0 -0
- {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws_completer +0 -0
- {awscli-1.40.17.data → awscli-1.44.26.data}/scripts/aws_zsh_completer.sh +0 -0
- {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/LICENSE.txt +0 -0
- {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/WHEEL +0 -0
- {awscli-1.40.17.dist-info → awscli-1.44.26.dist-info}/top_level.txt +0 -0
|
@@ -1,235 +1,625 @@
|
|
|
1
|
-
**Example 1: To create a CloudFront distribution**
|
|
2
|
-
|
|
3
|
-
The following example creates a distribution for an S3 bucket named ``amzn-s3-demo-bucket``, and also specifies ``index.html`` as the default root object, using command line arguments. ::
|
|
4
|
-
|
|
5
|
-
aws cloudfront create-distribution \
|
|
6
|
-
--origin-domain-name amzn-s3-demo-bucket.s3.amazonaws.com \
|
|
7
|
-
--default-root-object index.html
|
|
8
|
-
|
|
9
|
-
Output::
|
|
10
|
-
|
|
11
|
-
{
|
|
12
|
-
"Location": "https://cloudfront.amazonaws.com/2019-03-26/distribution/EMLARXS9EXAMPLE",
|
|
13
|
-
"ETag": "E9LHASXEXAMPLE",
|
|
14
|
-
"Distribution": {
|
|
15
|
-
"Id": "EMLARXS9EXAMPLE",
|
|
16
|
-
"ARN": "arn:aws:cloudfront::123456789012:distribution/EMLARXS9EXAMPLE",
|
|
17
|
-
"Status": "InProgress",
|
|
18
|
-
"LastModifiedTime": "2019-11-22T00:55:15.705Z",
|
|
19
|
-
"InProgressInvalidationBatches": 0,
|
|
20
|
-
"DomainName": "d111111abcdef8.cloudfront.net",
|
|
21
|
-
"ActiveTrustedSigners": {
|
|
22
|
-
"Enabled": false,
|
|
23
|
-
"Quantity": 0
|
|
24
|
-
},
|
|
25
|
-
"DistributionConfig": {
|
|
26
|
-
"CallerReference": "cli-example",
|
|
27
|
-
"Aliases": {
|
|
28
|
-
"Quantity": 0
|
|
29
|
-
},
|
|
30
|
-
"DefaultRootObject": "index.html",
|
|
31
|
-
"Origins": {
|
|
32
|
-
"Quantity": 1,
|
|
33
|
-
"Items": [
|
|
34
|
-
{
|
|
35
|
-
"Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
|
36
|
-
"DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com",
|
|
37
|
-
"OriginPath": "",
|
|
38
|
-
"CustomHeaders": {
|
|
39
|
-
"Quantity": 0
|
|
40
|
-
},
|
|
41
|
-
"S3OriginConfig": {
|
|
42
|
-
"OriginAccessIdentity": ""
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
]
|
|
46
|
-
},
|
|
47
|
-
"OriginGroups": {
|
|
48
|
-
"Quantity": 0
|
|
49
|
-
},
|
|
50
|
-
"DefaultCacheBehavior": {
|
|
51
|
-
"TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
|
52
|
-
"ForwardedValues": {
|
|
53
|
-
"QueryString": false,
|
|
54
|
-
"Cookies": {
|
|
55
|
-
"Forward": "none"
|
|
56
|
-
},
|
|
57
|
-
"Headers": {
|
|
58
|
-
"Quantity": 0
|
|
59
|
-
},
|
|
60
|
-
"QueryStringCacheKeys": {
|
|
61
|
-
"Quantity": 0
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"TrustedSigners": {
|
|
65
|
-
"Enabled": false,
|
|
66
|
-
"Quantity": 0
|
|
67
|
-
},
|
|
68
|
-
"ViewerProtocolPolicy": "allow-all",
|
|
69
|
-
"MinTTL": 0,
|
|
70
|
-
"AllowedMethods": {
|
|
71
|
-
"Quantity": 2,
|
|
72
|
-
"Items": [
|
|
73
|
-
"HEAD",
|
|
74
|
-
"GET"
|
|
75
|
-
],
|
|
76
|
-
"CachedMethods": {
|
|
77
|
-
"Quantity": 2,
|
|
78
|
-
"Items": [
|
|
79
|
-
"HEAD",
|
|
80
|
-
"GET"
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"SmoothStreaming": false,
|
|
85
|
-
"DefaultTTL": 86400,
|
|
86
|
-
"MaxTTL": 31536000,
|
|
87
|
-
"Compress": false,
|
|
88
|
-
"LambdaFunctionAssociations": {
|
|
89
|
-
"Quantity": 0
|
|
90
|
-
},
|
|
91
|
-
"FieldLevelEncryptionId": ""
|
|
92
|
-
},
|
|
93
|
-
"CacheBehaviors": {
|
|
94
|
-
"Quantity": 0
|
|
95
|
-
},
|
|
96
|
-
"CustomErrorResponses": {
|
|
97
|
-
"Quantity": 0
|
|
98
|
-
},
|
|
99
|
-
"Comment": "",
|
|
100
|
-
"Logging": {
|
|
101
|
-
"Enabled": false,
|
|
102
|
-
"IncludeCookies": false,
|
|
103
|
-
"Bucket": "",
|
|
104
|
-
"Prefix": ""
|
|
105
|
-
},
|
|
106
|
-
"PriceClass": "PriceClass_All",
|
|
107
|
-
"Enabled": true,
|
|
108
|
-
"ViewerCertificate": {
|
|
109
|
-
"CloudFrontDefaultCertificate": true,
|
|
110
|
-
"MinimumProtocolVersion": "TLSv1",
|
|
111
|
-
"CertificateSource": "cloudfront"
|
|
112
|
-
},
|
|
113
|
-
"Restrictions": {
|
|
114
|
-
"GeoRestriction": {
|
|
115
|
-
"RestrictionType": "none",
|
|
116
|
-
"Quantity": 0
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"WebACLId": "",
|
|
120
|
-
"HttpVersion": "http2",
|
|
121
|
-
"IsIPV6Enabled": true
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
**Example 2: To create a CloudFront distribution using a JSON file**
|
|
127
|
-
|
|
128
|
-
The following example creates a distribution for an S3 bucket named ``amzn-s3-demo-bucket``, and also specifies ``index.html`` as the default root object, using a JSON file. ::
|
|
129
|
-
|
|
130
|
-
aws cloudfront create-distribution \
|
|
131
|
-
--distribution-config file://dist-config.json
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
Contents of ``dist-config.json``::
|
|
135
|
-
|
|
136
|
-
{
|
|
137
|
-
"CallerReference": "cli-example",
|
|
138
|
-
"Aliases": {
|
|
139
|
-
"Quantity": 0
|
|
140
|
-
},
|
|
141
|
-
"DefaultRootObject": "index.html",
|
|
142
|
-
"Origins": {
|
|
143
|
-
"Quantity": 1,
|
|
144
|
-
"Items": [
|
|
145
|
-
{
|
|
146
|
-
"Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
|
147
|
-
"DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com",
|
|
148
|
-
"OriginPath": "",
|
|
149
|
-
"CustomHeaders": {
|
|
150
|
-
"Quantity": 0
|
|
151
|
-
},
|
|
152
|
-
"S3OriginConfig": {
|
|
153
|
-
"OriginAccessIdentity": ""
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
]
|
|
157
|
-
},
|
|
158
|
-
"OriginGroups": {
|
|
159
|
-
"Quantity": 0
|
|
160
|
-
},
|
|
161
|
-
"DefaultCacheBehavior": {
|
|
162
|
-
"TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
|
163
|
-
"ForwardedValues": {
|
|
164
|
-
"QueryString": false,
|
|
165
|
-
"Cookies": {
|
|
166
|
-
"Forward": "none"
|
|
167
|
-
},
|
|
168
|
-
"Headers": {
|
|
169
|
-
"Quantity": 0
|
|
170
|
-
},
|
|
171
|
-
"QueryStringCacheKeys": {
|
|
172
|
-
"Quantity": 0
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
"TrustedSigners": {
|
|
176
|
-
"Enabled": false,
|
|
177
|
-
"Quantity": 0
|
|
178
|
-
},
|
|
179
|
-
"ViewerProtocolPolicy": "allow-all",
|
|
180
|
-
"MinTTL": 0,
|
|
181
|
-
"AllowedMethods": {
|
|
182
|
-
"Quantity": 2,
|
|
183
|
-
"Items": [
|
|
184
|
-
"HEAD",
|
|
185
|
-
"GET"
|
|
186
|
-
],
|
|
187
|
-
"CachedMethods": {
|
|
188
|
-
"Quantity": 2,
|
|
189
|
-
"Items": [
|
|
190
|
-
"HEAD",
|
|
191
|
-
"GET"
|
|
192
|
-
]
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
"SmoothStreaming": false,
|
|
196
|
-
"DefaultTTL": 86400,
|
|
197
|
-
"MaxTTL": 31536000,
|
|
198
|
-
"Compress": false,
|
|
199
|
-
"LambdaFunctionAssociations": {
|
|
200
|
-
"Quantity": 0
|
|
201
|
-
},
|
|
202
|
-
"FieldLevelEncryptionId": ""
|
|
203
|
-
},
|
|
204
|
-
"CacheBehaviors": {
|
|
205
|
-
"Quantity": 0
|
|
206
|
-
},
|
|
207
|
-
"CustomErrorResponses": {
|
|
208
|
-
"Quantity": 0
|
|
209
|
-
},
|
|
210
|
-
"Comment": "",
|
|
211
|
-
"Logging": {
|
|
212
|
-
"Enabled": false,
|
|
213
|
-
"IncludeCookies": false,
|
|
214
|
-
"Bucket": "",
|
|
215
|
-
"Prefix": ""
|
|
216
|
-
},
|
|
217
|
-
"PriceClass": "PriceClass_All",
|
|
218
|
-
"Enabled": true,
|
|
219
|
-
"ViewerCertificate": {
|
|
220
|
-
"CloudFrontDefaultCertificate": true,
|
|
221
|
-
"MinimumProtocolVersion": "TLSv1",
|
|
222
|
-
"CertificateSource": "cloudfront"
|
|
223
|
-
},
|
|
224
|
-
"Restrictions": {
|
|
225
|
-
"GeoRestriction": {
|
|
226
|
-
"RestrictionType": "none",
|
|
227
|
-
"Quantity": 0
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
"WebACLId": "",
|
|
231
|
-
"HttpVersion": "http2",
|
|
232
|
-
"IsIPV6Enabled": true
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
See Example 1 for sample output.
|
|
1
|
+
**Example 1: To create a CloudFront distribution**
|
|
2
|
+
|
|
3
|
+
The following ``create-distribution`` example creates a distribution for an S3 bucket named ``amzn-s3-demo-bucket``, and also specifies ``index.html`` as the default root object, using command line arguments. ::
|
|
4
|
+
|
|
5
|
+
aws cloudfront create-distribution \
|
|
6
|
+
--origin-domain-name amzn-s3-demo-bucket.s3.amazonaws.com \
|
|
7
|
+
--default-root-object index.html
|
|
8
|
+
|
|
9
|
+
Output::
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
"Location": "https://cloudfront.amazonaws.com/2019-03-26/distribution/EMLARXS9EXAMPLE",
|
|
13
|
+
"ETag": "E9LHASXEXAMPLE",
|
|
14
|
+
"Distribution": {
|
|
15
|
+
"Id": "EMLARXS9EXAMPLE",
|
|
16
|
+
"ARN": "arn:aws:cloudfront::123456789012:distribution/EMLARXS9EXAMPLE",
|
|
17
|
+
"Status": "InProgress",
|
|
18
|
+
"LastModifiedTime": "2019-11-22T00:55:15.705Z",
|
|
19
|
+
"InProgressInvalidationBatches": 0,
|
|
20
|
+
"DomainName": "d111111abcdef8.cloudfront.net",
|
|
21
|
+
"ActiveTrustedSigners": {
|
|
22
|
+
"Enabled": false,
|
|
23
|
+
"Quantity": 0
|
|
24
|
+
},
|
|
25
|
+
"DistributionConfig": {
|
|
26
|
+
"CallerReference": "cli-example",
|
|
27
|
+
"Aliases": {
|
|
28
|
+
"Quantity": 0
|
|
29
|
+
},
|
|
30
|
+
"DefaultRootObject": "index.html",
|
|
31
|
+
"Origins": {
|
|
32
|
+
"Quantity": 1,
|
|
33
|
+
"Items": [
|
|
34
|
+
{
|
|
35
|
+
"Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
|
36
|
+
"DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com",
|
|
37
|
+
"OriginPath": "",
|
|
38
|
+
"CustomHeaders": {
|
|
39
|
+
"Quantity": 0
|
|
40
|
+
},
|
|
41
|
+
"S3OriginConfig": {
|
|
42
|
+
"OriginAccessIdentity": ""
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"OriginGroups": {
|
|
48
|
+
"Quantity": 0
|
|
49
|
+
},
|
|
50
|
+
"DefaultCacheBehavior": {
|
|
51
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
|
52
|
+
"ForwardedValues": {
|
|
53
|
+
"QueryString": false,
|
|
54
|
+
"Cookies": {
|
|
55
|
+
"Forward": "none"
|
|
56
|
+
},
|
|
57
|
+
"Headers": {
|
|
58
|
+
"Quantity": 0
|
|
59
|
+
},
|
|
60
|
+
"QueryStringCacheKeys": {
|
|
61
|
+
"Quantity": 0
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"TrustedSigners": {
|
|
65
|
+
"Enabled": false,
|
|
66
|
+
"Quantity": 0
|
|
67
|
+
},
|
|
68
|
+
"ViewerProtocolPolicy": "allow-all",
|
|
69
|
+
"MinTTL": 0,
|
|
70
|
+
"AllowedMethods": {
|
|
71
|
+
"Quantity": 2,
|
|
72
|
+
"Items": [
|
|
73
|
+
"HEAD",
|
|
74
|
+
"GET"
|
|
75
|
+
],
|
|
76
|
+
"CachedMethods": {
|
|
77
|
+
"Quantity": 2,
|
|
78
|
+
"Items": [
|
|
79
|
+
"HEAD",
|
|
80
|
+
"GET"
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"SmoothStreaming": false,
|
|
85
|
+
"DefaultTTL": 86400,
|
|
86
|
+
"MaxTTL": 31536000,
|
|
87
|
+
"Compress": false,
|
|
88
|
+
"LambdaFunctionAssociations": {
|
|
89
|
+
"Quantity": 0
|
|
90
|
+
},
|
|
91
|
+
"FieldLevelEncryptionId": ""
|
|
92
|
+
},
|
|
93
|
+
"CacheBehaviors": {
|
|
94
|
+
"Quantity": 0
|
|
95
|
+
},
|
|
96
|
+
"CustomErrorResponses": {
|
|
97
|
+
"Quantity": 0
|
|
98
|
+
},
|
|
99
|
+
"Comment": "",
|
|
100
|
+
"Logging": {
|
|
101
|
+
"Enabled": false,
|
|
102
|
+
"IncludeCookies": false,
|
|
103
|
+
"Bucket": "",
|
|
104
|
+
"Prefix": ""
|
|
105
|
+
},
|
|
106
|
+
"PriceClass": "PriceClass_All",
|
|
107
|
+
"Enabled": true,
|
|
108
|
+
"ViewerCertificate": {
|
|
109
|
+
"CloudFrontDefaultCertificate": true,
|
|
110
|
+
"MinimumProtocolVersion": "TLSv1",
|
|
111
|
+
"CertificateSource": "cloudfront"
|
|
112
|
+
},
|
|
113
|
+
"Restrictions": {
|
|
114
|
+
"GeoRestriction": {
|
|
115
|
+
"RestrictionType": "none",
|
|
116
|
+
"Quantity": 0
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"WebACLId": "",
|
|
120
|
+
"HttpVersion": "http2",
|
|
121
|
+
"IsIPV6Enabled": true
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
**Example 2: To create a CloudFront distribution using a JSON file**
|
|
127
|
+
|
|
128
|
+
The following ``create-distribution`` example creates a distribution for an S3 bucket named ``amzn-s3-demo-bucket``, and also specifies ``index.html`` as the default root object, using a JSON file. ::
|
|
129
|
+
|
|
130
|
+
aws cloudfront create-distribution \
|
|
131
|
+
--distribution-config file://dist-config.json
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
Contents of ``dist-config.json``::
|
|
135
|
+
|
|
136
|
+
{
|
|
137
|
+
"CallerReference": "cli-example",
|
|
138
|
+
"Aliases": {
|
|
139
|
+
"Quantity": 0
|
|
140
|
+
},
|
|
141
|
+
"DefaultRootObject": "index.html",
|
|
142
|
+
"Origins": {
|
|
143
|
+
"Quantity": 1,
|
|
144
|
+
"Items": [
|
|
145
|
+
{
|
|
146
|
+
"Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
|
147
|
+
"DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com",
|
|
148
|
+
"OriginPath": "",
|
|
149
|
+
"CustomHeaders": {
|
|
150
|
+
"Quantity": 0
|
|
151
|
+
},
|
|
152
|
+
"S3OriginConfig": {
|
|
153
|
+
"OriginAccessIdentity": ""
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
"OriginGroups": {
|
|
159
|
+
"Quantity": 0
|
|
160
|
+
},
|
|
161
|
+
"DefaultCacheBehavior": {
|
|
162
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example",
|
|
163
|
+
"ForwardedValues": {
|
|
164
|
+
"QueryString": false,
|
|
165
|
+
"Cookies": {
|
|
166
|
+
"Forward": "none"
|
|
167
|
+
},
|
|
168
|
+
"Headers": {
|
|
169
|
+
"Quantity": 0
|
|
170
|
+
},
|
|
171
|
+
"QueryStringCacheKeys": {
|
|
172
|
+
"Quantity": 0
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"TrustedSigners": {
|
|
176
|
+
"Enabled": false,
|
|
177
|
+
"Quantity": 0
|
|
178
|
+
},
|
|
179
|
+
"ViewerProtocolPolicy": "allow-all",
|
|
180
|
+
"MinTTL": 0,
|
|
181
|
+
"AllowedMethods": {
|
|
182
|
+
"Quantity": 2,
|
|
183
|
+
"Items": [
|
|
184
|
+
"HEAD",
|
|
185
|
+
"GET"
|
|
186
|
+
],
|
|
187
|
+
"CachedMethods": {
|
|
188
|
+
"Quantity": 2,
|
|
189
|
+
"Items": [
|
|
190
|
+
"HEAD",
|
|
191
|
+
"GET"
|
|
192
|
+
]
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"SmoothStreaming": false,
|
|
196
|
+
"DefaultTTL": 86400,
|
|
197
|
+
"MaxTTL": 31536000,
|
|
198
|
+
"Compress": false,
|
|
199
|
+
"LambdaFunctionAssociations": {
|
|
200
|
+
"Quantity": 0
|
|
201
|
+
},
|
|
202
|
+
"FieldLevelEncryptionId": ""
|
|
203
|
+
},
|
|
204
|
+
"CacheBehaviors": {
|
|
205
|
+
"Quantity": 0
|
|
206
|
+
},
|
|
207
|
+
"CustomErrorResponses": {
|
|
208
|
+
"Quantity": 0
|
|
209
|
+
},
|
|
210
|
+
"Comment": "",
|
|
211
|
+
"Logging": {
|
|
212
|
+
"Enabled": false,
|
|
213
|
+
"IncludeCookies": false,
|
|
214
|
+
"Bucket": "",
|
|
215
|
+
"Prefix": ""
|
|
216
|
+
},
|
|
217
|
+
"PriceClass": "PriceClass_All",
|
|
218
|
+
"Enabled": true,
|
|
219
|
+
"ViewerCertificate": {
|
|
220
|
+
"CloudFrontDefaultCertificate": true,
|
|
221
|
+
"MinimumProtocolVersion": "TLSv1",
|
|
222
|
+
"CertificateSource": "cloudfront"
|
|
223
|
+
},
|
|
224
|
+
"Restrictions": {
|
|
225
|
+
"GeoRestriction": {
|
|
226
|
+
"RestrictionType": "none",
|
|
227
|
+
"Quantity": 0
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"WebACLId": "",
|
|
231
|
+
"HttpVersion": "http2",
|
|
232
|
+
"IsIPV6Enabled": true
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
See Example 1 for sample output.
|
|
236
|
+
|
|
237
|
+
**Example 3: To create a CloudFront multi-tenant distribution with a certificate**
|
|
238
|
+
|
|
239
|
+
The following ``create-distribution`` example creates a CloudFront distribution with multi-tenant support and a specifies a TLS certificate. ::
|
|
240
|
+
|
|
241
|
+
aws cloudfront create-distribution \
|
|
242
|
+
--distribution-config file://dist-config.json
|
|
243
|
+
|
|
244
|
+
Contents of ``dist-config.json``::
|
|
245
|
+
|
|
246
|
+
{
|
|
247
|
+
"CallerReference": "cli-example-with-cert",
|
|
248
|
+
"Comment": "CLI example distribution",
|
|
249
|
+
"DefaultRootObject": "index.html",
|
|
250
|
+
"Origins": {
|
|
251
|
+
"Quantity": 1,
|
|
252
|
+
"Items": [
|
|
253
|
+
{
|
|
254
|
+
"Id": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
255
|
+
"DomainName": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
256
|
+
"OriginPath": "/{{tenantName}}",
|
|
257
|
+
"CustomHeaders": {
|
|
258
|
+
"Quantity": 0
|
|
259
|
+
},
|
|
260
|
+
"S3OriginConfig": {
|
|
261
|
+
"OriginAccessIdentity": ""
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
]
|
|
265
|
+
},
|
|
266
|
+
"DefaultCacheBehavior": {
|
|
267
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
268
|
+
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e5ABC",
|
|
269
|
+
"ViewerProtocolPolicy": "allow-all",
|
|
270
|
+
"AllowedMethods": {
|
|
271
|
+
"Quantity": 2,
|
|
272
|
+
"Items": ["HEAD", "GET"],
|
|
273
|
+
"CachedMethods": {
|
|
274
|
+
"Quantity": 2,
|
|
275
|
+
"Items": ["HEAD", "GET"]
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"Enabled": true,
|
|
280
|
+
"ViewerCertificate": {
|
|
281
|
+
"ACMCertificateArn": "arn:aws:acm:us-east-1:123456789012:certificate/191306a1-db01-49ca-90ef-fc414ee5dabc",
|
|
282
|
+
"SSLSupportMethod": "sni-only"
|
|
283
|
+
},
|
|
284
|
+
"HttpVersion": "http2",
|
|
285
|
+
"ConnectionMode": "tenant-only",
|
|
286
|
+
"TenantConfig": {
|
|
287
|
+
"ParameterDefinitions": [
|
|
288
|
+
{
|
|
289
|
+
"Name": "tenantName",
|
|
290
|
+
"Definition": {
|
|
291
|
+
"StringSchema": {
|
|
292
|
+
"Comment": "tenantName parameter",
|
|
293
|
+
"DefaultValue": "root",
|
|
294
|
+
"Required": false
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
Output::
|
|
303
|
+
|
|
304
|
+
{
|
|
305
|
+
"Location": "https://cloudfront.amazonaws.com/2020-05-31/distribution/E1HVIAU7UABC",
|
|
306
|
+
"ETag": "E20LT7R1BABC",
|
|
307
|
+
"Distribution": {
|
|
308
|
+
"Id": "E1HVIAU7U12ABC",
|
|
309
|
+
"ARN": "arn:aws:cloudfront::123456789012:distribution/E1HVIAU7U12ABC",
|
|
310
|
+
"Status": "InProgress",
|
|
311
|
+
"LastModifiedTime": "2025-07-10T20:33:31.117000+00:00",
|
|
312
|
+
"InProgressInvalidationBatches": 0,
|
|
313
|
+
"DomainName": "example.com",
|
|
314
|
+
"ActiveTrustedSigners": {
|
|
315
|
+
"Enabled": false,
|
|
316
|
+
"Quantity": 0
|
|
317
|
+
},
|
|
318
|
+
"ActiveTrustedKeyGroups": {
|
|
319
|
+
"Enabled": false,
|
|
320
|
+
"Quantity": 0
|
|
321
|
+
},
|
|
322
|
+
"DistributionConfig": {
|
|
323
|
+
"CallerReference": "cli-example-with-cert",
|
|
324
|
+
"DefaultRootObject": "index.html",
|
|
325
|
+
"Origins": {
|
|
326
|
+
"Quantity": 1,
|
|
327
|
+
"Items": [
|
|
328
|
+
{
|
|
329
|
+
"Id": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
330
|
+
"DomainName": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
331
|
+
"OriginPath": "/{{tenantName}}",
|
|
332
|
+
"CustomHeaders": {
|
|
333
|
+
"Quantity": 0
|
|
334
|
+
},
|
|
335
|
+
"S3OriginConfig": {
|
|
336
|
+
"OriginAccessIdentity": ""
|
|
337
|
+
},
|
|
338
|
+
"ConnectionAttempts": 3,
|
|
339
|
+
"ConnectionTimeout": 10,
|
|
340
|
+
"OriginShield": {
|
|
341
|
+
"Enabled": false
|
|
342
|
+
},
|
|
343
|
+
"OriginAccessControlId": ""
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
"OriginGroups": {
|
|
348
|
+
"Quantity": 0
|
|
349
|
+
},
|
|
350
|
+
"DefaultCacheBehavior": {
|
|
351
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
352
|
+
"TrustedKeyGroups": {
|
|
353
|
+
"Enabled": false,
|
|
354
|
+
"Quantity": 0
|
|
355
|
+
},
|
|
356
|
+
"ViewerProtocolPolicy": "allow-all",
|
|
357
|
+
"AllowedMethods": {
|
|
358
|
+
"Quantity": 2,
|
|
359
|
+
"Items": ["HEAD", "GET"],
|
|
360
|
+
"CachedMethods": {
|
|
361
|
+
"Quantity": 2,
|
|
362
|
+
"Items": ["HEAD", "GET"]
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"Compress": false,
|
|
366
|
+
"LambdaFunctionAssociations": {
|
|
367
|
+
"Quantity": 0
|
|
368
|
+
},
|
|
369
|
+
"FunctionAssociations": {
|
|
370
|
+
"Quantity": 0
|
|
371
|
+
},
|
|
372
|
+
"FieldLevelEncryptionId": "",
|
|
373
|
+
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e5ABC",
|
|
374
|
+
"GrpcConfig": {
|
|
375
|
+
"Enabled": false
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"CacheBehaviors": {
|
|
379
|
+
"Quantity": 0
|
|
380
|
+
},
|
|
381
|
+
"CustomErrorResponses": {
|
|
382
|
+
"Quantity": 0
|
|
383
|
+
},
|
|
384
|
+
"Comment": "CLI example distribution",
|
|
385
|
+
"Logging": {
|
|
386
|
+
"Enabled": false,
|
|
387
|
+
"IncludeCookies": false,
|
|
388
|
+
"Bucket": "",
|
|
389
|
+
"Prefix": ""
|
|
390
|
+
},
|
|
391
|
+
"Enabled": true,
|
|
392
|
+
"ViewerCertificate": {
|
|
393
|
+
"CloudFrontDefaultCertificate": false,
|
|
394
|
+
"ACMCertificateArn": "arn:aws:acm:us-east-1:123456789012:certificate/1954f095-11b6-4daf-9952-0c308a00abc",
|
|
395
|
+
"SSLSupportMethod": "sni-only",
|
|
396
|
+
"MinimumProtocolVersion": "TLSv1.2_2021",
|
|
397
|
+
"Certificate": "arn:aws:acm:us-east-1:123456789012:certificate/1954f095-11b6-4daf-9952-0c308a00abc",
|
|
398
|
+
"CertificateSource": "acm"
|
|
399
|
+
},
|
|
400
|
+
"Restrictions": {
|
|
401
|
+
"GeoRestriction": {
|
|
402
|
+
"RestrictionType": "none",
|
|
403
|
+
"Quantity": 0
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
"WebACLId": "",
|
|
407
|
+
"HttpVersion": "http2",
|
|
408
|
+
"TenantConfig": {
|
|
409
|
+
"ParameterDefinitions": [
|
|
410
|
+
{
|
|
411
|
+
"Name": "tenantName",
|
|
412
|
+
"Definition": {
|
|
413
|
+
"StringSchema": {
|
|
414
|
+
"Comment": "tenantName parameter",
|
|
415
|
+
"DefaultValue": "root",
|
|
416
|
+
"Required": false
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
},
|
|
422
|
+
"ConnectionMode": "tenant-only"
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
For more information, see `Working with distributions <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-working-with.html>`__ in the *Amazon CloudFront Developer Guide*.
|
|
428
|
+
|
|
429
|
+
**Example 4: To create a CloudFront multi-tenant distribution without a certificate**
|
|
430
|
+
|
|
431
|
+
The following ``create-distribution`` example creates a CloudFront distribution with multi-tenant support but without a TLS certificate. ::
|
|
432
|
+
|
|
433
|
+
aws cloudfront create-distribution \
|
|
434
|
+
--distribution-config file://dist-config.json
|
|
435
|
+
|
|
436
|
+
Contents of ``dist-config.json``::
|
|
437
|
+
|
|
438
|
+
{
|
|
439
|
+
"CallerReference": "cli-example",
|
|
440
|
+
"Comment": "CLI example distribution",
|
|
441
|
+
"DefaultRootObject": "index.html",
|
|
442
|
+
"Origins": {
|
|
443
|
+
"Quantity": 1,
|
|
444
|
+
"Items": [
|
|
445
|
+
{
|
|
446
|
+
"Id": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
447
|
+
"DomainName": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
448
|
+
"OriginPath": "/{{tenantName}}",
|
|
449
|
+
"CustomHeaders": {
|
|
450
|
+
"Quantity": 0
|
|
451
|
+
},
|
|
452
|
+
"S3OriginConfig": {
|
|
453
|
+
"OriginAccessIdentity": ""
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
]
|
|
457
|
+
},
|
|
458
|
+
"DefaultCacheBehavior": {
|
|
459
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
460
|
+
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e5ABC",
|
|
461
|
+
"ViewerProtocolPolicy": "allow-all",
|
|
462
|
+
"AllowedMethods": {
|
|
463
|
+
"Quantity": 2,
|
|
464
|
+
"Items": [
|
|
465
|
+
"HEAD",
|
|
466
|
+
"GET"
|
|
467
|
+
],
|
|
468
|
+
"CachedMethods": {
|
|
469
|
+
"Quantity": 2,
|
|
470
|
+
"Items": [
|
|
471
|
+
"HEAD",
|
|
472
|
+
"GET"
|
|
473
|
+
]
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
"Enabled": true,
|
|
478
|
+
"HttpVersion": "http2",
|
|
479
|
+
"ConnectionMode": "tenant-only",
|
|
480
|
+
"TenantConfig": {
|
|
481
|
+
"ParameterDefinitions": [
|
|
482
|
+
{
|
|
483
|
+
"Name": "tenantName",
|
|
484
|
+
"Definition": {
|
|
485
|
+
"StringSchema": {
|
|
486
|
+
"Comment": "tenantName parameter",
|
|
487
|
+
"DefaultValue": "root",
|
|
488
|
+
"Required": false
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
]
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
Output::
|
|
497
|
+
|
|
498
|
+
{
|
|
499
|
+
"Location": "https://cloudfront.amazonaws.com/2020-05-31/distribution/E2GJ5J9QN12ABC",
|
|
500
|
+
"ETag": "E37YLVVQIABC",
|
|
501
|
+
"Distribution": {
|
|
502
|
+
"Id": "E2GJ5J9QNABC",
|
|
503
|
+
"ARN": "arn:aws:cloudfront::123456789012:distribution/E2GJ5J9QN12ABC",
|
|
504
|
+
"Status": "InProgress",
|
|
505
|
+
"LastModifiedTime": "2025-07-10T20:35:20.565000+00:00",
|
|
506
|
+
"InProgressInvalidationBatches": 0,
|
|
507
|
+
"DomainName": "example.com",
|
|
508
|
+
"ActiveTrustedSigners": {
|
|
509
|
+
"Enabled": false,
|
|
510
|
+
"Quantity": 0
|
|
511
|
+
},
|
|
512
|
+
"ActiveTrustedKeyGroups": {
|
|
513
|
+
"Enabled": false,
|
|
514
|
+
"Quantity": 0
|
|
515
|
+
},
|
|
516
|
+
"DistributionConfig": {
|
|
517
|
+
"CallerReference": "cli-example-no-cert",
|
|
518
|
+
"DefaultRootObject": "index.html",
|
|
519
|
+
"Origins": {
|
|
520
|
+
"Quantity": 1,
|
|
521
|
+
"Items": [
|
|
522
|
+
{
|
|
523
|
+
"Id": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
524
|
+
"DomainName": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
525
|
+
"OriginPath": "/{{tenantName}}",
|
|
526
|
+
"CustomHeaders": {
|
|
527
|
+
"Quantity": 0
|
|
528
|
+
},
|
|
529
|
+
"S3OriginConfig": {
|
|
530
|
+
"OriginAccessIdentity": ""
|
|
531
|
+
},
|
|
532
|
+
"ConnectionAttempts": 3,
|
|
533
|
+
"ConnectionTimeout": 10,
|
|
534
|
+
"OriginShield": {
|
|
535
|
+
"Enabled": false
|
|
536
|
+
},
|
|
537
|
+
"OriginAccessControlId": ""
|
|
538
|
+
}
|
|
539
|
+
]
|
|
540
|
+
},
|
|
541
|
+
"OriginGroups": {
|
|
542
|
+
"Quantity": 0
|
|
543
|
+
},
|
|
544
|
+
"DefaultCacheBehavior": {
|
|
545
|
+
"TargetOriginId": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com",
|
|
546
|
+
"TrustedKeyGroups": {
|
|
547
|
+
"Enabled": false,
|
|
548
|
+
"Quantity": 0
|
|
549
|
+
},
|
|
550
|
+
"ViewerProtocolPolicy": "allow-all",
|
|
551
|
+
"AllowedMethods": {
|
|
552
|
+
"Quantity": 2,
|
|
553
|
+
"Items": [
|
|
554
|
+
"HEAD",
|
|
555
|
+
"GET"
|
|
556
|
+
],
|
|
557
|
+
"CachedMethods": {
|
|
558
|
+
"Quantity": 2,
|
|
559
|
+
"Items": [
|
|
560
|
+
"HEAD",
|
|
561
|
+
"GET"
|
|
562
|
+
]
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
"Compress": false,
|
|
566
|
+
"LambdaFunctionAssociations": {
|
|
567
|
+
"Quantity": 0
|
|
568
|
+
},
|
|
569
|
+
"FunctionAssociations": {
|
|
570
|
+
"Quantity": 0
|
|
571
|
+
},
|
|
572
|
+
"FieldLevelEncryptionId": "",
|
|
573
|
+
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e5ABC",
|
|
574
|
+
"GrpcConfig": {
|
|
575
|
+
"Enabled": false
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
"CacheBehaviors": {
|
|
579
|
+
"Quantity": 0
|
|
580
|
+
},
|
|
581
|
+
"CustomErrorResponses": {
|
|
582
|
+
"Quantity": 0
|
|
583
|
+
},
|
|
584
|
+
"Comment": "CLI example distribution",
|
|
585
|
+
"Logging": {
|
|
586
|
+
"Enabled": false,
|
|
587
|
+
"IncludeCookies": false,
|
|
588
|
+
"Bucket": "",
|
|
589
|
+
"Prefix": ""
|
|
590
|
+
},
|
|
591
|
+
"Enabled": true,
|
|
592
|
+
"ViewerCertificate": {
|
|
593
|
+
"CloudFrontDefaultCertificate": true,
|
|
594
|
+
"SSLSupportMethod": "sni-only",
|
|
595
|
+
"MinimumProtocolVersion": "TLSv1",
|
|
596
|
+
"CertificateSource": "cloudfront"
|
|
597
|
+
},
|
|
598
|
+
"Restrictions": {
|
|
599
|
+
"GeoRestriction": {
|
|
600
|
+
"RestrictionType": "none",
|
|
601
|
+
"Quantity": 0
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
"WebACLId": "",
|
|
605
|
+
"HttpVersion": "http2",
|
|
606
|
+
"TenantConfig": {
|
|
607
|
+
"ParameterDefinitions": [
|
|
608
|
+
{
|
|
609
|
+
"Name": "tenantName",
|
|
610
|
+
"Definition": {
|
|
611
|
+
"StringSchema": {
|
|
612
|
+
"Comment": "tenantName parameter",
|
|
613
|
+
"DefaultValue": "root",
|
|
614
|
+
"Required": false
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
]
|
|
619
|
+
},
|
|
620
|
+
"ConnectionMode": "tenant-only"
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
For more information, see `Configure distributions <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-working-with.html>`__ in the *Amazon CloudFront Developer Guide*.
|