awscli 1.42.7__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 +55 -9
- awscli/customizations/argrename.py +1 -3
- awscli/customizations/cliinputjson.py +4 -0
- awscli/customizations/cloudformation/deploy.py +19 -3
- awscli/customizations/cloudtrail/validation.py +22 -2
- awscli/customizations/commands.py +2 -1
- awscli/customizations/eks/update_kubeconfig.py +12 -1
- awscli/customizations/emr/argumentschema.py +355 -344
- awscli/customizations/emr/createcluster.py +12 -0
- awscli/customizations/emr/emrutils.py +83 -50
- awscli/customizations/emr/helptext.py +10 -0
- awscli/customizations/emr/steputils.py +92 -52
- awscli/customizations/gamelift/uploadbuild.py +24 -11
- awscli/customizations/globalargs.py +169 -0
- awscli/customizations/paginate.py +66 -1
- awscli/customizations/s3/filegenerator.py +4 -1
- awscli/customizations/s3/fileinfo.py +4 -1
- awscli/customizations/s3/fileinfobuilder.py +6 -0
- awscli/customizations/s3/s3handler.py +9 -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 +14 -0
- awscli/customizations/scalarparse.py +48 -9
- awscli/data/cli.json +5 -0
- awscli/examples/apigateway/update-vpc-link.rst +47 -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/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/ec2/authorize-security-group-ingress.rst +1 -1
- 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/get-composition.rst +7 -4
- awscli/examples/ivs-realtime/start-composition.rst +88 -3
- 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/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/handlers.py +0 -4
- awscli/paramfile.py +21 -4
- awscli/testutils.py +17 -0
- 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 +19 -2
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/METADATA +16 -3
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/RECORD +112 -231
- 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.42.7.data → awscli-1.44.26.data}/scripts/aws +0 -0
- {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws.cmd +0 -0
- {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws_bash_completer +0 -0
- {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws_completer +0 -0
- {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws_zsh_completer.sh +0 -0
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/LICENSE.txt +0 -0
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/WHEEL +0 -0
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/top_level.txt +0 -0
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
**To retrieve an ElasticTranscoder preset**
|
|
2
|
-
|
|
3
|
-
This example retrieves the specified ElasticTranscoder preset.
|
|
4
|
-
|
|
5
|
-
Command::
|
|
6
|
-
|
|
7
|
-
aws elastictranscoder read-preset --id 1351620000001-500020
|
|
8
|
-
|
|
9
|
-
Output::
|
|
10
|
-
|
|
11
|
-
{
|
|
12
|
-
"Preset": {
|
|
13
|
-
"Thumbnails": {
|
|
14
|
-
"SizingPolicy": "ShrinkToFit",
|
|
15
|
-
"MaxWidth": "192",
|
|
16
|
-
"Format": "png",
|
|
17
|
-
"PaddingPolicy": "NoPad",
|
|
18
|
-
"Interval": "300",
|
|
19
|
-
"MaxHeight": "108"
|
|
20
|
-
},
|
|
21
|
-
"Container": "fmp4",
|
|
22
|
-
"Description": "System preset: MPEG-Dash Video - 4.8M",
|
|
23
|
-
"Video": {
|
|
24
|
-
"SizingPolicy": "ShrinkToFit",
|
|
25
|
-
"MaxWidth": "1280",
|
|
26
|
-
"PaddingPolicy": "NoPad",
|
|
27
|
-
"FrameRate": "30",
|
|
28
|
-
"MaxHeight": "720",
|
|
29
|
-
"KeyframesMaxDist": "60",
|
|
30
|
-
"FixedGOP": "true",
|
|
31
|
-
"Codec": "H.264",
|
|
32
|
-
"Watermarks": [
|
|
33
|
-
{
|
|
34
|
-
"SizingPolicy": "ShrinkToFit",
|
|
35
|
-
"VerticalOffset": "10%",
|
|
36
|
-
"VerticalAlign": "Top",
|
|
37
|
-
"Target": "Content",
|
|
38
|
-
"MaxWidth": "10%",
|
|
39
|
-
"MaxHeight": "10%",
|
|
40
|
-
"HorizontalAlign": "Left",
|
|
41
|
-
"HorizontalOffset": "10%",
|
|
42
|
-
"Opacity": "100",
|
|
43
|
-
"Id": "TopLeft"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"SizingPolicy": "ShrinkToFit",
|
|
47
|
-
"VerticalOffset": "10%",
|
|
48
|
-
"VerticalAlign": "Top",
|
|
49
|
-
"Target": "Content",
|
|
50
|
-
"MaxWidth": "10%",
|
|
51
|
-
"MaxHeight": "10%",
|
|
52
|
-
"HorizontalAlign": "Right",
|
|
53
|
-
"HorizontalOffset": "10%",
|
|
54
|
-
"Opacity": "100",
|
|
55
|
-
"Id": "TopRight"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"SizingPolicy": "ShrinkToFit",
|
|
59
|
-
"VerticalOffset": "10%",
|
|
60
|
-
"VerticalAlign": "Bottom",
|
|
61
|
-
"Target": "Content",
|
|
62
|
-
"MaxWidth": "10%",
|
|
63
|
-
"MaxHeight": "10%",
|
|
64
|
-
"HorizontalAlign": "Left",
|
|
65
|
-
"HorizontalOffset": "10%",
|
|
66
|
-
"Opacity": "100",
|
|
67
|
-
"Id": "BottomLeft"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"SizingPolicy": "ShrinkToFit",
|
|
71
|
-
"VerticalOffset": "10%",
|
|
72
|
-
"VerticalAlign": "Bottom",
|
|
73
|
-
"Target": "Content",
|
|
74
|
-
"MaxWidth": "10%",
|
|
75
|
-
"MaxHeight": "10%",
|
|
76
|
-
"HorizontalAlign": "Right",
|
|
77
|
-
"HorizontalOffset": "10%",
|
|
78
|
-
"Opacity": "100",
|
|
79
|
-
"Id": "BottomRight"
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
"CodecOptions": {
|
|
83
|
-
"Profile": "main",
|
|
84
|
-
"MaxBitRate": "4800",
|
|
85
|
-
"InterlacedMode": "Progressive",
|
|
86
|
-
"Level": "3.1",
|
|
87
|
-
"ColorSpaceConversionMode": "None",
|
|
88
|
-
"MaxReferenceFrames": "3",
|
|
89
|
-
"BufferSize": "9600"
|
|
90
|
-
},
|
|
91
|
-
"BitRate": "4800",
|
|
92
|
-
"DisplayAspectRatio": "auto"
|
|
93
|
-
},
|
|
94
|
-
"Type": "System",
|
|
95
|
-
"Id": "1351620000001-500020",
|
|
96
|
-
"Arn": "arn:aws:elastictranscoder:us-west-2:123456789012:preset/1351620000001-500020",
|
|
97
|
-
"Name": "System preset: MPEG-Dash Video - 4.8M"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
**To update the notifications of an ElasticTranscoder pipeline**
|
|
2
|
-
|
|
3
|
-
This example updates the notifications of the specified ElasticTranscoder pipeline.
|
|
4
|
-
|
|
5
|
-
Command::
|
|
6
|
-
|
|
7
|
-
aws elastictranscoder update-pipeline-notifications --id 1111111111111-abcde1 --notifications Progressing=arn:aws:sns:us-west-2:0123456789012:my-topic,Completed=arn:aws:sns:us-west-2:0123456789012:my-topic,Warning=arn:aws:sns:us-west-2:0123456789012:my-topic,Error=arn:aws:sns:us-east-1:111222333444:ETS_Errors
|
|
8
|
-
|
|
9
|
-
Output::
|
|
10
|
-
|
|
11
|
-
{
|
|
12
|
-
"Pipeline": {
|
|
13
|
-
"Status": "Active",
|
|
14
|
-
"ContentConfig": {
|
|
15
|
-
"Bucket": "ets-example",
|
|
16
|
-
"StorageClass": "Standard",
|
|
17
|
-
"Permissions": [
|
|
18
|
-
{
|
|
19
|
-
"Access": [
|
|
20
|
-
"FullControl"
|
|
21
|
-
],
|
|
22
|
-
"Grantee": "marketing-promos@example.com",
|
|
23
|
-
"GranteeType": "Email"
|
|
24
|
-
}
|
|
25
|
-
]
|
|
26
|
-
},
|
|
27
|
-
"Name": "Default",
|
|
28
|
-
"ThumbnailConfig": {
|
|
29
|
-
"Bucket": "ets-example",
|
|
30
|
-
"StorageClass": "ReducedRedundancy",
|
|
31
|
-
"Permissions": [
|
|
32
|
-
{
|
|
33
|
-
"Access": [
|
|
34
|
-
"FullControl"
|
|
35
|
-
],
|
|
36
|
-
"Grantee": "marketing-promos@example.com",
|
|
37
|
-
"GranteeType": "Email"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
"Notifications": {
|
|
42
|
-
"Completed": "arn:aws:sns:us-west-2:0123456789012:my-topic",
|
|
43
|
-
"Warning": "arn:aws:sns:us-west-2:0123456789012:my-topic",
|
|
44
|
-
"Progressing": "arn:aws:sns:us-west-2:0123456789012:my-topic",
|
|
45
|
-
"Error": "arn:aws:sns:us-east-1:111222333444:ETS_Errors"
|
|
46
|
-
},
|
|
47
|
-
"Role": "arn:aws:iam::123456789012:role/Elastic_Transcoder_Default_Role",
|
|
48
|
-
"InputBucket": "ets-example",
|
|
49
|
-
"Id": "1111111111111-abcde1",
|
|
50
|
-
"Arn": "arn:aws:elastictranscoder:us-west-2:123456789012:pipeline/1111111111111-abcde1"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
**To update the status of an ElasticTranscoder pipeline**
|
|
2
|
-
|
|
3
|
-
This example updates the status of the specified ElasticTranscoder pipeline.
|
|
4
|
-
|
|
5
|
-
Command::
|
|
6
|
-
|
|
7
|
-
aws elastictranscoder update-pipeline-status --id 1111111111111-abcde1 --status Paused
|
|
8
|
-
|
|
9
|
-
Output::
|
|
10
|
-
|
|
11
|
-
{
|
|
12
|
-
"Pipeline": {
|
|
13
|
-
"Status": "Paused",
|
|
14
|
-
"ContentConfig": {
|
|
15
|
-
"Bucket": "ets-example",
|
|
16
|
-
"StorageClass": "Standard",
|
|
17
|
-
"Permissions": [
|
|
18
|
-
{
|
|
19
|
-
"Access": [
|
|
20
|
-
"FullControl"
|
|
21
|
-
],
|
|
22
|
-
"Grantee": "marketing-promos@example.com",
|
|
23
|
-
"GranteeType": "Email"
|
|
24
|
-
}
|
|
25
|
-
]
|
|
26
|
-
},
|
|
27
|
-
"Name": "Default",
|
|
28
|
-
"ThumbnailConfig": {
|
|
29
|
-
"Bucket": "ets-example",
|
|
30
|
-
"StorageClass": "ReducedRedundancy",
|
|
31
|
-
"Permissions": [
|
|
32
|
-
{
|
|
33
|
-
"Access": [
|
|
34
|
-
"FullControl"
|
|
35
|
-
],
|
|
36
|
-
"Grantee": "marketing-promos@example.com",
|
|
37
|
-
"GranteeType": "Email"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
"Notifications": {
|
|
42
|
-
"Completed": "",
|
|
43
|
-
"Warning": "",
|
|
44
|
-
"Progressing": "",
|
|
45
|
-
"Error": "arn:aws:sns:us-east-1:803981987763:ETS_Errors"
|
|
46
|
-
},
|
|
47
|
-
"Role": "arn:aws:iam::123456789012:role/Elastic_Transcoder_Default_Role",
|
|
48
|
-
"InputBucket": "ets-example",
|
|
49
|
-
"Id": "1111111111111-abcde1",
|
|
50
|
-
"Arn": "arn:aws:elastictranscoder:us-west-2:123456789012:pipeline/1111111111111-abcde1"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
**To update an ElasticTranscoder pipeline**
|
|
2
|
-
|
|
3
|
-
The following ``update-pipeline`` example updates the specified ElasticTranscoder pipeline. ::
|
|
4
|
-
|
|
5
|
-
aws elastictranscoder update-pipeline \
|
|
6
|
-
--id 1111111111111-abcde1
|
|
7
|
-
--name DefaultExample \
|
|
8
|
-
--input-bucket salesoffice.example.com-source \
|
|
9
|
-
--role arn:aws:iam::123456789012:role/Elastic_Transcoder_Default_Role \
|
|
10
|
-
--notifications Progressing="",Completed="",Warning="",Error=arn:aws:sns:us-east-1:111222333444:ETS_Errors \
|
|
11
|
-
--content-config file://content-config.json \
|
|
12
|
-
--thumbnail-config file://thumbnail-config.json
|
|
13
|
-
|
|
14
|
-
Contents of ``content-config.json``::
|
|
15
|
-
|
|
16
|
-
{
|
|
17
|
-
"Bucket":"salesoffice.example.com-public-promos",
|
|
18
|
-
"Permissions":[
|
|
19
|
-
{
|
|
20
|
-
"GranteeType":"Email",
|
|
21
|
-
"Grantee":"marketing-promos@example.com",
|
|
22
|
-
"Access":[
|
|
23
|
-
"FullControl"
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
"StorageClass":"Standard"
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
Contents of ``thumbnail-config.json``::
|
|
31
|
-
|
|
32
|
-
{
|
|
33
|
-
"Bucket":"salesoffice.example.com-public-promos-thumbnails",
|
|
34
|
-
"Permissions":[
|
|
35
|
-
{
|
|
36
|
-
"GranteeType":"Email",
|
|
37
|
-
"Grantee":"marketing-promos@example.com",
|
|
38
|
-
"Access":[
|
|
39
|
-
"FullControl"
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"StorageClass":"ReducedRedundancy"
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
Output::
|
|
47
|
-
|
|
48
|
-
{
|
|
49
|
-
"Pipeline": {
|
|
50
|
-
"Status": "Active",
|
|
51
|
-
"ContentConfig": {
|
|
52
|
-
"Bucket": "ets-example",
|
|
53
|
-
"StorageClass": "Standard",
|
|
54
|
-
"Permissions": [
|
|
55
|
-
{
|
|
56
|
-
"Access": [
|
|
57
|
-
"FullControl"
|
|
58
|
-
],
|
|
59
|
-
"Grantee": "marketing-promos@example.com",
|
|
60
|
-
"GranteeType": "Email"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
"Name": "DefaultExample",
|
|
65
|
-
"ThumbnailConfig": {
|
|
66
|
-
"Bucket": "ets-example",
|
|
67
|
-
"StorageClass": "ReducedRedundancy",
|
|
68
|
-
"Permissions": [
|
|
69
|
-
{
|
|
70
|
-
"Access": [
|
|
71
|
-
"FullControl"
|
|
72
|
-
],
|
|
73
|
-
"Grantee": "marketing-promos@example.com",
|
|
74
|
-
"GranteeType": "Email"
|
|
75
|
-
}
|
|
76
|
-
]
|
|
77
|
-
},
|
|
78
|
-
"Notifications": {
|
|
79
|
-
"Completed": "",
|
|
80
|
-
"Warning": "",
|
|
81
|
-
"Progressing": "",
|
|
82
|
-
"Error": "arn:aws:sns:us-east-1:111222333444:ETS_Errors"
|
|
83
|
-
},
|
|
84
|
-
"Role": "arn:aws:iam::123456789012:role/Elastic_Transcoder_Default_Role",
|
|
85
|
-
"InputBucket": "ets-example",
|
|
86
|
-
"Id": "3333333333333-abcde3",
|
|
87
|
-
"Arn": "arn:aws:elastictranscoder:us-west-2:123456789012:pipeline/3333333333333-abcde3"
|
|
88
|
-
},
|
|
89
|
-
"Warnings": [
|
|
90
|
-
{
|
|
91
|
-
"Message": "The SNS notification topic for Error events and the pipeline are in different regions, which increases processing time for jobs in the pipeline and can incur additional charges. To decrease processing time and prevent cross-regional charges, use the same region for the SNS notification topic and the pipeline.",
|
|
92
|
-
"Code": "6006"
|
|
93
|
-
}
|
|
94
|
-
]
|
|
95
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
**To assign a registered instance to a layer**
|
|
2
|
-
|
|
3
|
-
The following example assigns a registered instance to a custom layer. ::
|
|
4
|
-
|
|
5
|
-
aws opsworks --region us-east-1 assign-instance --instance-id 4d6d1710-ded9-42a1-b08e-b043ad7af1e2 --layer-ids 26cf1d32-6876-42fa-bbf1-9cadc0bff938
|
|
6
|
-
|
|
7
|
-
*Output*: None.
|
|
8
|
-
|
|
9
|
-
**More Information**
|
|
10
|
-
|
|
11
|
-
For more information, see `Assigning a Registered Instance to a Layer`_ in the *AWS OpsWorks User Guide*.
|
|
12
|
-
|
|
13
|
-
.. _`Assigning a Registered Instance to a Layer`: http://docs.aws.amazon.com/opsworks/latest/userguide/registered-instances-assign.html
|
|
14
|
-
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
**To assign a registered volume to an instance**
|
|
2
|
-
|
|
3
|
-
The following example assigns a registered Amazon Elastic Block Store (Amazon EBS) volume to an instance.
|
|
4
|
-
The volume is identified by its volume ID, which is the GUID that AWS OpsWorks assigns when
|
|
5
|
-
you register the volume with a stack, not the Amazon Elastic Compute Cloud (Amazon EC2) volume ID.
|
|
6
|
-
Before you run ``assign-volume``, you must first run ``update-volume`` to assign a mount point to the volume. ::
|
|
7
|
-
|
|
8
|
-
aws opsworks --region us-east-1 assign-volume --instance-id 4d6d1710-ded9-42a1-b08e-b043ad7af1e2 --volume-id 26cf1d32-6876-42fa-bbf1-9cadc0bff938
|
|
9
|
-
|
|
10
|
-
*Output*: None.
|
|
11
|
-
|
|
12
|
-
**More Information**
|
|
13
|
-
|
|
14
|
-
For more information, see `Assigning Amazon EBS Volumes to an Instance`_ in the *AWS OpsWorks User Guide*.
|
|
15
|
-
|
|
16
|
-
.. _`Assigning Amazon EBS Volumes to an Instance`: http://docs.aws.amazon.com/opsworks/latest/userguide/resources-attach.html#resources-attach-ebs
|
|
17
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
**To associate an Elastic IP address with an instance**
|
|
2
|
-
|
|
3
|
-
The following example associates an Elastic IP address with a specified instance. ::
|
|
4
|
-
|
|
5
|
-
aws opsworks --region us-east-1 associate-elastic-ip --instance-id dfe18b02-5327-493d-91a4-c5c0c448927f --elastic-ip 54.148.130.96
|
|
6
|
-
|
|
7
|
-
*Output*: None.
|
|
8
|
-
|
|
9
|
-
**More Information**
|
|
10
|
-
|
|
11
|
-
For more information, see `Resource Management`_ in the *AWS OpsWorks User Guide*.
|
|
12
|
-
|
|
13
|
-
.. _`Resource Management`: http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html
|
|
14
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
**To attach a load balancer to a layer**
|
|
2
|
-
|
|
3
|
-
The following example attaches a load balancer, identified by its name, to a specified layer. ::
|
|
4
|
-
|
|
5
|
-
aws opsworks --region us-east-1 attach-elastic-load-balancer --elastic-load-balancer-name Java-LB --layer-id 888c5645-09a5-4d0e-95a8-812ef1db76a4
|
|
6
|
-
|
|
7
|
-
*Output*: None.
|
|
8
|
-
|
|
9
|
-
**More Information**
|
|
10
|
-
|
|
11
|
-
For more information, see `Elastic Load Balancing`_ in the *AWS OpsWorks User Guide*.
|
|
12
|
-
|
|
13
|
-
.. _`Elastic Load Balancing`: http://docs.aws.amazon.com/opsworks/latest/userguide/load-balancer-elb.html
|
|
14
|
-
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
**Example 1: To create an app**
|
|
2
|
-
|
|
3
|
-
The following example creates a PHP app named SimplePHPApp from code stored in a GitHub repository.
|
|
4
|
-
The command uses the shorthand form of the application source definition. ::
|
|
5
|
-
|
|
6
|
-
aws opsworks create-app \
|
|
7
|
-
--region us-east-1 \
|
|
8
|
-
--stack-id f6673d70-32e6-4425-8999-265dd002fec7 \
|
|
9
|
-
--name SimplePHPApp \
|
|
10
|
-
--type php \
|
|
11
|
-
--app-source Type=git,Url=git://github.com/amazonwebservices/opsworks-demo-php-simple-app.git,Revision=version1
|
|
12
|
-
|
|
13
|
-
Output::
|
|
14
|
-
|
|
15
|
-
{
|
|
16
|
-
"AppId": "6cf5163c-a951-444f-a8f7-3716be75f2a2"
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
**Example 2: To create an app with an attached database**
|
|
20
|
-
|
|
21
|
-
The following example creates a JSP app from code stored in .zip archive in a public S3 bucket.
|
|
22
|
-
It attaches an RDS DB instance to serve as the app's data store. The application and database sources are defined in separate
|
|
23
|
-
JSON files that are in the directory from which you run the command. ::
|
|
24
|
-
|
|
25
|
-
aws opsworks create-app \
|
|
26
|
-
--region us-east-1 \
|
|
27
|
-
--stack-id 8c428b08-a1a1-46ce-a5f8-feddc43771b8 \
|
|
28
|
-
--name SimpleJSP \
|
|
29
|
-
--type java \
|
|
30
|
-
--app-source file://appsource.json \
|
|
31
|
-
--data-sources file://datasource.json
|
|
32
|
-
|
|
33
|
-
The application source information is in ``appsource.json`` and contains the following. ::
|
|
34
|
-
|
|
35
|
-
{
|
|
36
|
-
"Type": "archive",
|
|
37
|
-
"Url": "https://s3.amazonaws.com/opsworks-demo-assets/simplejsp.zip"
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
The database source information is in ``datasource.json`` and contains the following. ::
|
|
41
|
-
|
|
42
|
-
[
|
|
43
|
-
{
|
|
44
|
-
"Type": "RdsDbInstance",
|
|
45
|
-
"Arn": "arn:aws:rds:us-west-2:123456789012:db:clitestdb",
|
|
46
|
-
"DatabaseName": "mydb"
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
|
|
50
|
-
**Note**: For an RDS DB instance, you must first use ``register-rds-db-instance`` to register the instance with the stack.
|
|
51
|
-
For MySQL App Server instances, set ``Type`` to ``OpsworksMysqlInstance``. These instances are
|
|
52
|
-
created by AWS OpsWorks,
|
|
53
|
-
so they do not have to be registered.
|
|
54
|
-
|
|
55
|
-
Output::
|
|
56
|
-
|
|
57
|
-
{
|
|
58
|
-
"AppId": "26a61ead-d201-47e3-b55c-2a7c666942f8"
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
For more information, see `Adding Apps`_ in the *AWS OpsWorks User Guide*.
|
|
62
|
-
|
|
63
|
-
.. _`Adding Apps`: http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html
|
|
64
|
-
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
**Example 1: To deploy apps and run stack commands**
|
|
2
|
-
|
|
3
|
-
The following examples show how to use the ``create-deployment`` command to deploy apps and run stack commands. Notice that the quote (``"``) characters in the JSON object that specifies the command are all preceded by escape characters (\\). Without the escape characters, the command might return an invalid JSON error.
|
|
4
|
-
|
|
5
|
-
The following ``create-deployment`` example deploys an app to a specified stack. ::
|
|
6
|
-
|
|
7
|
-
aws opsworks create-deployment \
|
|
8
|
-
--stack-id cfb7e082-ad1d-4599-8e81-de1c39ab45bf \
|
|
9
|
-
--app-id 307be5c8-d55d-47b5-bd6e-7bd417c6c7eb
|
|
10
|
-
--command "{\"Name\":\"deploy\"}"
|
|
11
|
-
|
|
12
|
-
Output::
|
|
13
|
-
|
|
14
|
-
{
|
|
15
|
-
"DeploymentId": "5746c781-df7f-4c87-84a7-65a119880560"
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
**Example 2: To deploy a Rails App and Migrate the Database**
|
|
19
|
-
|
|
20
|
-
The following ``create-deployment`` command deploys a Ruby on Rails app to a specified stack and migrates the database. ::
|
|
21
|
-
|
|
22
|
-
aws opsworks create-deployment \
|
|
23
|
-
--stack-id cfb7e082-ad1d-4599-8e81-de1c39ab45bf \
|
|
24
|
-
--app-id 307be5c8-d55d-47b5-bd6e-7bd417c6c7eb \
|
|
25
|
-
--command "{\"Name\":\"deploy\", \"Args\":{\"migrate\":[\"true\"]}}"
|
|
26
|
-
|
|
27
|
-
Output::
|
|
28
|
-
|
|
29
|
-
{
|
|
30
|
-
"DeploymentId": "5746c781-df7f-4c87-84a7-65a119880560"
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
For more information on deployment, see `Deploying Apps <https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-deploying.html>`__ in the *AWS OpsWorks User Guide*.
|
|
34
|
-
|
|
35
|
-
**Example 3: Run a Recipe**
|
|
36
|
-
|
|
37
|
-
The following ``create-deployment`` command runs a custom recipe, ``phpapp::appsetup``, on the instances in a specified stack. ::
|
|
38
|
-
|
|
39
|
-
aws opsworks create-deployment \
|
|
40
|
-
--stack-id 935450cc-61e0-4b03-a3e0-160ac817d2bb \
|
|
41
|
-
--command "{\"Name\":\"execute_recipes\", \"Args\":{\"recipes\":[\"phpapp::appsetup\"]}}"
|
|
42
|
-
|
|
43
|
-
Output::
|
|
44
|
-
|
|
45
|
-
{
|
|
46
|
-
"DeploymentId": "5cbaa7b9-4e09-4e53-aa1b-314fbd106038"
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
For more information, see `Run Stack Commands <https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-commands.html>`__ in the *AWS OpsWorks User Guide*.
|
|
50
|
-
|
|
51
|
-
**Example 4: Install Dependencies**
|
|
52
|
-
|
|
53
|
-
The following ``create-deployment`` command installs dependencies, such as packages or Ruby gems, on the instances in a
|
|
54
|
-
specified stack. ::
|
|
55
|
-
|
|
56
|
-
aws opsworks create-deployment \
|
|
57
|
-
--stack-id 935450cc-61e0-4b03-a3e0-160ac817d2bb \
|
|
58
|
-
--command "{\"Name\":\"install_dependencies\"}"
|
|
59
|
-
|
|
60
|
-
Output::
|
|
61
|
-
|
|
62
|
-
{
|
|
63
|
-
"DeploymentId": "aef5b255-8604-4928-81b3-9b0187f962ff"
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
For more information, see `Run Stack Commands <https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-commands.html>`__ in the *AWS OpsWorks User Guide*.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
**To create an instance**
|
|
2
|
-
|
|
3
|
-
The following ``create-instance`` command creates an m1.large Amazon Linux instance named myinstance1 in a specified stack.
|
|
4
|
-
The instance is assigned to one layer. ::
|
|
5
|
-
|
|
6
|
-
aws opsworks --region us-east-1 create-instance --stack-id 935450cc-61e0-4b03-a3e0-160ac817d2bb --layer-ids 5c8c272a-f2d5-42e3-8245-5bf3927cb65b --hostname myinstance1 --instance-type m1.large --os "Amazon Linux"
|
|
7
|
-
|
|
8
|
-
To use an autogenerated name, call `get-hostname-suggestion`_, which generates
|
|
9
|
-
a hostname based on the theme that you specified when you created the stack.
|
|
10
|
-
Then pass that name to the `hostname` argument.
|
|
11
|
-
|
|
12
|
-
.. _get-hostname-suggestion: http://docs.aws.amazon.com/cli/latest/reference/opsworks/get-hostname-suggestion.html
|
|
13
|
-
|
|
14
|
-
*Output*::
|
|
15
|
-
|
|
16
|
-
{
|
|
17
|
-
"InstanceId": "5f9adeaa-c94c-42c6-aeef-28a5376002cd"
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
**More Information**
|
|
21
|
-
|
|
22
|
-
For more information, see `Adding an Instance to a Layer`_ in the *AWS OpsWorks User Guide*.
|
|
23
|
-
|
|
24
|
-
.. _`Adding an Instance to a Layer`: http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html
|
|
25
|
-
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
**To create a layer**
|
|
2
|
-
|
|
3
|
-
The following ``create-layer`` command creates a PHP App Server layer named MyPHPLayer in a specified stack. ::
|
|
4
|
-
|
|
5
|
-
aws opsworks create-layer --region us-east-1 --stack-id f6673d70-32e6-4425-8999-265dd002fec7 --type php-app --name MyPHPLayer --shortname myphplayer
|
|
6
|
-
|
|
7
|
-
*Output*::
|
|
8
|
-
|
|
9
|
-
{
|
|
10
|
-
"LayerId": "0b212672-6b4b-40e4-8a34-5a943cf2e07a"
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
**More Information**
|
|
14
|
-
|
|
15
|
-
For more information, see `How to Create a Layer`_ in the *AWS OpsWorks User Guide*.
|
|
16
|
-
|
|
17
|
-
.. _`How to Create a Layer`: http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-create.html
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
**To create a server**
|
|
2
|
-
|
|
3
|
-
The following ``create-server`` example creates a new Chef Automate server named ``automate-06`` in your default region. Note that defaults are used for most other settings, such as number of backups to retain, and maintenance and backup start times. Before you run a ``create-server`` command, complete prerequisites in `Getting Started with AWS OpsWorks for Chef Automate <https://docs.aws.amazon.com/opsworks/latest/userguide/gettingstarted-opscm.html>`__ in the *AWS Opsworks for Chef Automate User Guide*. ::
|
|
4
|
-
|
|
5
|
-
aws opsworks-cm create-server \
|
|
6
|
-
--engine "ChefAutomate" \
|
|
7
|
-
--instance-profile-arn "arn:aws:iam::012345678901:instance-profile/aws-opsworks-cm-ec2-role" \
|
|
8
|
-
--instance-type "t2.medium" \
|
|
9
|
-
--server-name "automate-06" \
|
|
10
|
-
--service-role-arn "arn:aws:iam::012345678901:role/aws-opsworks-cm-service-role"
|
|
11
|
-
|
|
12
|
-
Output::
|
|
13
|
-
|
|
14
|
-
{
|
|
15
|
-
"Server": {
|
|
16
|
-
"AssociatePublicIpAddress": true,
|
|
17
|
-
"BackupRetentionCount": 10,
|
|
18
|
-
"CreatedAt": 2019-12-29T13:38:47.520Z,
|
|
19
|
-
"DisableAutomatedBackup": FALSE,
|
|
20
|
-
"Endpoint": "https://opsworks-cm.us-east-1.amazonaws.com",
|
|
21
|
-
"Engine": "ChefAutomate",
|
|
22
|
-
"EngineAttributes": [
|
|
23
|
-
{
|
|
24
|
-
"Name": "CHEF_AUTOMATE_ADMIN_PASSWORD",
|
|
25
|
-
"Value": "1Example1"
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"EngineModel": "Single",
|
|
29
|
-
"EngineVersion": "2019-08",
|
|
30
|
-
"InstanceProfileArn": "arn:aws:iam::012345678901:instance-profile/aws-opsworks-cm-ec2-role",
|
|
31
|
-
"InstanceType": "t2.medium",
|
|
32
|
-
"PreferredBackupWindow": "Sun:02:00",
|
|
33
|
-
"PreferredMaintenanceWindow": "00:00",
|
|
34
|
-
"SecurityGroupIds": [ "sg-12345678" ],
|
|
35
|
-
"ServerArn": "arn:aws:iam::012345678901:instance/automate-06-1010V4UU2WRM2",
|
|
36
|
-
"ServerName": "automate-06",
|
|
37
|
-
"ServiceRoleArn": "arn:aws:iam::012345678901:role/aws-opsworks-cm-service-role",
|
|
38
|
-
"Status": "CREATING",
|
|
39
|
-
"SubnetIds": [ "subnet-12345678" ]
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
For more information, see `CreateServer <https://docs.aws.amazon.com/opsworks-cm/latest/APIReference/API_CreateServer.html>`__ in the *AWS OpsWorks for Chef Automate API Reference*.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
**To create a stack**
|
|
2
|
-
|
|
3
|
-
The following ``create-stack`` command creates a stack named CLI Stack. ::
|
|
4
|
-
|
|
5
|
-
aws opsworks create-stack --name "CLI Stack" --stack-region "us-east-1" --service-role-arn arn:aws:iam::123456789012:role/aws-opsworks-service-role --default-instance-profile-arn arn:aws:iam::123456789012:instance-profile/aws-opsworks-ec2-role --region us-east-1
|
|
6
|
-
|
|
7
|
-
The ``service-role-arn`` and ``default-instance-profile-arn`` parameters are required. You typically
|
|
8
|
-
use the ones that AWS OpsWorks
|
|
9
|
-
creates for you when you create your first stack. To get the Amazon Resource Names (ARNs) for your
|
|
10
|
-
account, go to the `IAM console`_, choose ``Roles`` in the navigation panel,
|
|
11
|
-
choose the role or profile, and choose the ``Summary`` tab.
|
|
12
|
-
|
|
13
|
-
.. _`IAM console`: https://console.aws.amazon.com/iam/home
|
|
14
|
-
|
|
15
|
-
*Output*::
|
|
16
|
-
|
|
17
|
-
{
|
|
18
|
-
"StackId": "f6673d70-32e6-4425-8999-265dd002fec7"
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
**More Information**
|
|
22
|
-
|
|
23
|
-
For more information, see `Create a New Stack`_ in the *AWS OpsWorks User Guide*.
|
|
24
|
-
|
|
25
|
-
.. _`Create a New Stack`: http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
**To create a user profile**
|
|
2
|
-
|
|
3
|
-
You import an AWS Identity and Access Manager (IAM) user into AWS OpsWorks by calling `create-user-profile` to create a user profile.
|
|
4
|
-
The following example creates a user profile for the cli-user-test IAM user, who
|
|
5
|
-
is identified by Amazon Resource Name (ARN). The example assigns the user an SSH username of ``myusername`` and enables self management,
|
|
6
|
-
which allows the user to specify an SSH public key. ::
|
|
7
|
-
|
|
8
|
-
aws opsworks --region us-east-1 create-user-profile --iam-user-arn arn:aws:iam::123456789102:user/cli-user-test --ssh-username myusername --allow-self-management
|
|
9
|
-
|
|
10
|
-
*Output*::
|
|
11
|
-
|
|
12
|
-
{
|
|
13
|
-
"IamUserArn": "arn:aws:iam::123456789102:user/cli-user-test"
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
**Tip**: This command imports an IAM user into AWS OpsWorks, but only with the permissions that are
|
|
17
|
-
granted by the attached policies. You can grant per-stack AWS OpsWorks permissions by using the ``set-permissions`` command.
|
|
18
|
-
|
|
19
|
-
**More Information**
|
|
20
|
-
|
|
21
|
-
For more information, see `Importing Users into AWS OpsWorks`_ in the *AWS OpsWorks User Guide*.
|
|
22
|
-
|
|
23
|
-
.. _`Importing Users into AWS OpsWorks`: http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users-manage-import.html
|
|
24
|
-
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
**To delete an app**
|
|
2
|
-
|
|
3
|
-
The following example deletes a specified app, which is identified by its app ID.
|
|
4
|
-
You can obtain an app ID by going to the app's details page on the AWS OpsWorks console or by
|
|
5
|
-
running the ``describe-apps`` command. ::
|
|
6
|
-
|
|
7
|
-
aws opsworks delete-app --region us-east-1 --app-id 577943b9-2ec1-4baf-a7bf-1d347601edc5
|
|
8
|
-
|
|
9
|
-
*Output*: None.
|
|
10
|
-
|
|
11
|
-
**More Information**
|
|
12
|
-
|
|
13
|
-
For more information, see `Apps`_ in the *AWS OpsWorks User Guide*.
|
|
14
|
-
|
|
15
|
-
.. _`Apps`: http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps.html
|
|
16
|
-
|
|
17
|
-
|