aws-sdk-imagebuilder 1.12.0 → 1.17.0
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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-imagebuilder.rb +3 -2
- data/lib/aws-sdk-imagebuilder/client.rb +476 -37
- data/lib/aws-sdk-imagebuilder/client_api.rb +281 -26
- data/lib/aws-sdk-imagebuilder/types.rb +780 -38
- metadata +4 -4
@@ -25,13 +25,18 @@ module Aws::Imagebuilder
|
|
25
25
|
# @return [String]
|
26
26
|
#
|
27
27
|
# @!attribute [rw] description
|
28
|
-
# The description of the EC2 AMI.
|
28
|
+
# The description of the EC2 AMI. Minimum and maximum length are in
|
29
|
+
# characters.
|
29
30
|
# @return [String]
|
30
31
|
#
|
31
32
|
# @!attribute [rw] state
|
32
33
|
# Image state shows the image status and the reason for that status.
|
33
34
|
# @return [Types::ImageState]
|
34
35
|
#
|
36
|
+
# @!attribute [rw] account_id
|
37
|
+
# The account ID of the owner of the AMI.
|
38
|
+
# @return [String]
|
39
|
+
#
|
35
40
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Ami AWS API Documentation
|
36
41
|
#
|
37
42
|
class Ami < Struct.new(
|
@@ -39,7 +44,8 @@ module Aws::Imagebuilder
|
|
39
44
|
:image,
|
40
45
|
:name,
|
41
46
|
:description,
|
42
|
-
:state
|
47
|
+
:state,
|
48
|
+
:account_id)
|
43
49
|
SENSITIVE = []
|
44
50
|
include Aws::Structure
|
45
51
|
end
|
@@ -52,12 +58,13 @@ module Aws::Imagebuilder
|
|
52
58
|
# {
|
53
59
|
# name: "AmiNameString",
|
54
60
|
# description: "NonEmptyString",
|
61
|
+
# target_account_ids: ["AccountId"],
|
55
62
|
# ami_tags: {
|
56
63
|
# "TagKey" => "TagValue",
|
57
64
|
# },
|
58
65
|
# kms_key_id: "NonEmptyString",
|
59
66
|
# launch_permission: {
|
60
|
-
# user_ids: ["
|
67
|
+
# user_ids: ["AccountId"],
|
61
68
|
# user_groups: ["NonEmptyString"],
|
62
69
|
# },
|
63
70
|
# }
|
@@ -67,9 +74,14 @@ module Aws::Imagebuilder
|
|
67
74
|
# @return [String]
|
68
75
|
#
|
69
76
|
# @!attribute [rw] description
|
70
|
-
# The description of the distribution configuration.
|
77
|
+
# The description of the distribution configuration. Minimum and
|
78
|
+
# maximum length are in characters.
|
71
79
|
# @return [String]
|
72
80
|
#
|
81
|
+
# @!attribute [rw] target_account_ids
|
82
|
+
# The ID of an account to which you want to distribute an image.
|
83
|
+
# @return [Array<String>]
|
84
|
+
#
|
73
85
|
# @!attribute [rw] ami_tags
|
74
86
|
# The tags to apply to AMIs distributed to this Region.
|
75
87
|
# @return [Hash<String,String>]
|
@@ -88,6 +100,7 @@ module Aws::Imagebuilder
|
|
88
100
|
class AmiDistributionConfiguration < Struct.new(
|
89
101
|
:name,
|
90
102
|
:description,
|
103
|
+
:target_account_ids,
|
91
104
|
:ami_tags,
|
92
105
|
:kms_key_id,
|
93
106
|
:launch_permission)
|
@@ -404,6 +417,209 @@ module Aws::Imagebuilder
|
|
404
417
|
include Aws::Structure
|
405
418
|
end
|
406
419
|
|
420
|
+
# A container encapsulates the runtime environment for an application.
|
421
|
+
#
|
422
|
+
# @!attribute [rw] region
|
423
|
+
# Containers and container images are Region-specific. This is the
|
424
|
+
# Region context for the container.
|
425
|
+
# @return [String]
|
426
|
+
#
|
427
|
+
# @!attribute [rw] image_uris
|
428
|
+
# A list of URIs for containers created in the context Region.
|
429
|
+
# @return [Array<String>]
|
430
|
+
#
|
431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Container AWS API Documentation
|
432
|
+
#
|
433
|
+
class Container < Struct.new(
|
434
|
+
:region,
|
435
|
+
:image_uris)
|
436
|
+
SENSITIVE = []
|
437
|
+
include Aws::Structure
|
438
|
+
end
|
439
|
+
|
440
|
+
# Container distribution settings for encryption, licensing, and sharing
|
441
|
+
# in a specific Region.
|
442
|
+
#
|
443
|
+
# @note When making an API call, you may pass ContainerDistributionConfiguration
|
444
|
+
# data as a hash:
|
445
|
+
#
|
446
|
+
# {
|
447
|
+
# description: "NonEmptyString",
|
448
|
+
# container_tags: ["NonEmptyString"],
|
449
|
+
# target_repository: { # required
|
450
|
+
# service: "ECR", # required, accepts ECR
|
451
|
+
# repository_name: "NonEmptyString", # required
|
452
|
+
# },
|
453
|
+
# }
|
454
|
+
#
|
455
|
+
# @!attribute [rw] description
|
456
|
+
# The description of the container distribution configuration.
|
457
|
+
# @return [String]
|
458
|
+
#
|
459
|
+
# @!attribute [rw] container_tags
|
460
|
+
# Tags that are attached to the container distribution configuration.
|
461
|
+
# @return [Array<String>]
|
462
|
+
#
|
463
|
+
# @!attribute [rw] target_repository
|
464
|
+
# The destination repository for the container distribution
|
465
|
+
# configuration.
|
466
|
+
# @return [Types::TargetContainerRepository]
|
467
|
+
#
|
468
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ContainerDistributionConfiguration AWS API Documentation
|
469
|
+
#
|
470
|
+
class ContainerDistributionConfiguration < Struct.new(
|
471
|
+
:description,
|
472
|
+
:container_tags,
|
473
|
+
:target_repository)
|
474
|
+
SENSITIVE = []
|
475
|
+
include Aws::Structure
|
476
|
+
end
|
477
|
+
|
478
|
+
# A container recipe.
|
479
|
+
#
|
480
|
+
# @!attribute [rw] arn
|
481
|
+
# The Amazon Resource Name (ARN) of the container recipe.
|
482
|
+
# @return [String]
|
483
|
+
#
|
484
|
+
# @!attribute [rw] container_type
|
485
|
+
# Specifies the type of container, such as Docker.
|
486
|
+
# @return [String]
|
487
|
+
#
|
488
|
+
# @!attribute [rw] name
|
489
|
+
# The name of the container recipe.
|
490
|
+
# @return [String]
|
491
|
+
#
|
492
|
+
# @!attribute [rw] description
|
493
|
+
# The description of the container recipe.
|
494
|
+
# @return [String]
|
495
|
+
#
|
496
|
+
# @!attribute [rw] platform
|
497
|
+
# The system platform for the container, such as Windows or Linux.
|
498
|
+
# @return [String]
|
499
|
+
#
|
500
|
+
# @!attribute [rw] owner
|
501
|
+
# The owner of the container recipe.
|
502
|
+
# @return [String]
|
503
|
+
#
|
504
|
+
# @!attribute [rw] version
|
505
|
+
# The semantic version of the container recipe
|
506
|
+
# (<major>.<minor>.<patch>).
|
507
|
+
# @return [String]
|
508
|
+
#
|
509
|
+
# @!attribute [rw] components
|
510
|
+
# Components for build and test that are included in the container
|
511
|
+
# recipe.
|
512
|
+
# @return [Array<Types::ComponentConfiguration>]
|
513
|
+
#
|
514
|
+
# @!attribute [rw] dockerfile_template_data
|
515
|
+
# Dockerfiles are text documents that are used to build Docker
|
516
|
+
# containers, and ensure that they contain all of the elements
|
517
|
+
# required by the application running inside. The template data
|
518
|
+
# consists of contextual variables where Image Builder places build
|
519
|
+
# information or scripts, based on your container image recipe.
|
520
|
+
# @return [String]
|
521
|
+
#
|
522
|
+
# @!attribute [rw] kms_key_id
|
523
|
+
# Identifies which KMS key is used to encrypt the container image for
|
524
|
+
# distribution to the target Region.
|
525
|
+
# @return [String]
|
526
|
+
#
|
527
|
+
# @!attribute [rw] encrypted
|
528
|
+
# A flag that indicates if the target container is encrypted.
|
529
|
+
# @return [Boolean]
|
530
|
+
#
|
531
|
+
# @!attribute [rw] parent_image
|
532
|
+
# The source image for the container recipe.
|
533
|
+
# @return [String]
|
534
|
+
#
|
535
|
+
# @!attribute [rw] date_created
|
536
|
+
# The date when this container recipe was created.
|
537
|
+
# @return [String]
|
538
|
+
#
|
539
|
+
# @!attribute [rw] tags
|
540
|
+
# Tags that are attached to the container recipe.
|
541
|
+
# @return [Hash<String,String>]
|
542
|
+
#
|
543
|
+
# @!attribute [rw] working_directory
|
544
|
+
# The working directory for use during build and test workflows.
|
545
|
+
# @return [String]
|
546
|
+
#
|
547
|
+
# @!attribute [rw] target_repository
|
548
|
+
# The destination repository for the container image.
|
549
|
+
# @return [Types::TargetContainerRepository]
|
550
|
+
#
|
551
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ContainerRecipe AWS API Documentation
|
552
|
+
#
|
553
|
+
class ContainerRecipe < Struct.new(
|
554
|
+
:arn,
|
555
|
+
:container_type,
|
556
|
+
:name,
|
557
|
+
:description,
|
558
|
+
:platform,
|
559
|
+
:owner,
|
560
|
+
:version,
|
561
|
+
:components,
|
562
|
+
:dockerfile_template_data,
|
563
|
+
:kms_key_id,
|
564
|
+
:encrypted,
|
565
|
+
:parent_image,
|
566
|
+
:date_created,
|
567
|
+
:tags,
|
568
|
+
:working_directory,
|
569
|
+
:target_repository)
|
570
|
+
SENSITIVE = []
|
571
|
+
include Aws::Structure
|
572
|
+
end
|
573
|
+
|
574
|
+
# A summary of a container recipe
|
575
|
+
#
|
576
|
+
# @!attribute [rw] arn
|
577
|
+
# The Amazon Resource Name (ARN) of the container recipe.
|
578
|
+
# @return [String]
|
579
|
+
#
|
580
|
+
# @!attribute [rw] container_type
|
581
|
+
# Specifies the type of container, such as "Docker".
|
582
|
+
# @return [String]
|
583
|
+
#
|
584
|
+
# @!attribute [rw] name
|
585
|
+
# The name of the container recipe.
|
586
|
+
# @return [String]
|
587
|
+
#
|
588
|
+
# @!attribute [rw] platform
|
589
|
+
# The system platform for the container, such as Windows or Linux.
|
590
|
+
# @return [String]
|
591
|
+
#
|
592
|
+
# @!attribute [rw] owner
|
593
|
+
# The owner of the container recipe.
|
594
|
+
# @return [String]
|
595
|
+
#
|
596
|
+
# @!attribute [rw] parent_image
|
597
|
+
# The source image for the container recipe.
|
598
|
+
# @return [String]
|
599
|
+
#
|
600
|
+
# @!attribute [rw] date_created
|
601
|
+
# The date when this container recipe was created.
|
602
|
+
# @return [String]
|
603
|
+
#
|
604
|
+
# @!attribute [rw] tags
|
605
|
+
# Tags that are attached to the container recipe.
|
606
|
+
# @return [Hash<String,String>]
|
607
|
+
#
|
608
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ContainerRecipeSummary AWS API Documentation
|
609
|
+
#
|
610
|
+
class ContainerRecipeSummary < Struct.new(
|
611
|
+
:arn,
|
612
|
+
:container_type,
|
613
|
+
:name,
|
614
|
+
:platform,
|
615
|
+
:owner,
|
616
|
+
:parent_image,
|
617
|
+
:date_created,
|
618
|
+
:tags)
|
619
|
+
SENSITIVE = []
|
620
|
+
include Aws::Structure
|
621
|
+
end
|
622
|
+
|
407
623
|
# @note When making an API call, you may pass CreateComponentRequest
|
408
624
|
# data as a hash:
|
409
625
|
#
|
@@ -523,6 +739,149 @@ module Aws::Imagebuilder
|
|
523
739
|
include Aws::Structure
|
524
740
|
end
|
525
741
|
|
742
|
+
# @note When making an API call, you may pass CreateContainerRecipeRequest
|
743
|
+
# data as a hash:
|
744
|
+
#
|
745
|
+
# {
|
746
|
+
# container_type: "DOCKER", # required, accepts DOCKER
|
747
|
+
# name: "ResourceName", # required
|
748
|
+
# description: "NonEmptyString",
|
749
|
+
# semantic_version: "VersionNumber", # required
|
750
|
+
# components: [ # required
|
751
|
+
# {
|
752
|
+
# component_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
753
|
+
# },
|
754
|
+
# ],
|
755
|
+
# dockerfile_template_data: "InlineDockerFileTemplate", # required
|
756
|
+
# dockerfile_template_uri: "Uri",
|
757
|
+
# platform_override: "Windows", # accepts Windows, Linux
|
758
|
+
# image_os_version_override: "NonEmptyString",
|
759
|
+
# parent_image: "NonEmptyString", # required
|
760
|
+
# tags: {
|
761
|
+
# "TagKey" => "TagValue",
|
762
|
+
# },
|
763
|
+
# working_directory: "NonEmptyString",
|
764
|
+
# target_repository: { # required
|
765
|
+
# service: "ECR", # required, accepts ECR
|
766
|
+
# repository_name: "NonEmptyString", # required
|
767
|
+
# },
|
768
|
+
# kms_key_id: "NonEmptyString",
|
769
|
+
# client_token: "ClientToken", # required
|
770
|
+
# }
|
771
|
+
#
|
772
|
+
# @!attribute [rw] container_type
|
773
|
+
# The type of container to create.
|
774
|
+
# @return [String]
|
775
|
+
#
|
776
|
+
# @!attribute [rw] name
|
777
|
+
# The name of the container recipe.
|
778
|
+
# @return [String]
|
779
|
+
#
|
780
|
+
# @!attribute [rw] description
|
781
|
+
# The description of the container recipe.
|
782
|
+
# @return [String]
|
783
|
+
#
|
784
|
+
# @!attribute [rw] semantic_version
|
785
|
+
# The semantic version of the container recipe
|
786
|
+
# (<major>.<minor>.<patch>).
|
787
|
+
# @return [String]
|
788
|
+
#
|
789
|
+
# @!attribute [rw] components
|
790
|
+
# Components for build and test that are included in the container
|
791
|
+
# recipe.
|
792
|
+
# @return [Array<Types::ComponentConfiguration>]
|
793
|
+
#
|
794
|
+
# @!attribute [rw] dockerfile_template_data
|
795
|
+
# The Dockerfile template used to build your image as an inline data
|
796
|
+
# blob.
|
797
|
+
# @return [String]
|
798
|
+
#
|
799
|
+
# @!attribute [rw] dockerfile_template_uri
|
800
|
+
# The S3 URI for the Dockerfile that will be used to build your
|
801
|
+
# container image.
|
802
|
+
# @return [String]
|
803
|
+
#
|
804
|
+
# @!attribute [rw] platform_override
|
805
|
+
# Specifies the operating system platform when you use a custom source
|
806
|
+
# image.
|
807
|
+
# @return [String]
|
808
|
+
#
|
809
|
+
# @!attribute [rw] image_os_version_override
|
810
|
+
# Specifies the operating system version for the source image.
|
811
|
+
# @return [String]
|
812
|
+
#
|
813
|
+
# @!attribute [rw] parent_image
|
814
|
+
# The source image for the container recipe.
|
815
|
+
# @return [String]
|
816
|
+
#
|
817
|
+
# @!attribute [rw] tags
|
818
|
+
# Tags that are attached to the container recipe.
|
819
|
+
# @return [Hash<String,String>]
|
820
|
+
#
|
821
|
+
# @!attribute [rw] working_directory
|
822
|
+
# The working directory for use during build and test workflows.
|
823
|
+
# @return [String]
|
824
|
+
#
|
825
|
+
# @!attribute [rw] target_repository
|
826
|
+
# The destination repository for the container image.
|
827
|
+
# @return [Types::TargetContainerRepository]
|
828
|
+
#
|
829
|
+
# @!attribute [rw] kms_key_id
|
830
|
+
# Identifies which KMS key is used to encrypt the container image.
|
831
|
+
# @return [String]
|
832
|
+
#
|
833
|
+
# @!attribute [rw] client_token
|
834
|
+
# The client token used to make this request idempotent.
|
835
|
+
#
|
836
|
+
# **A suitable default value is auto-generated.** You should normally
|
837
|
+
# not need to pass this option.
|
838
|
+
# @return [String]
|
839
|
+
#
|
840
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateContainerRecipeRequest AWS API Documentation
|
841
|
+
#
|
842
|
+
class CreateContainerRecipeRequest < Struct.new(
|
843
|
+
:container_type,
|
844
|
+
:name,
|
845
|
+
:description,
|
846
|
+
:semantic_version,
|
847
|
+
:components,
|
848
|
+
:dockerfile_template_data,
|
849
|
+
:dockerfile_template_uri,
|
850
|
+
:platform_override,
|
851
|
+
:image_os_version_override,
|
852
|
+
:parent_image,
|
853
|
+
:tags,
|
854
|
+
:working_directory,
|
855
|
+
:target_repository,
|
856
|
+
:kms_key_id,
|
857
|
+
:client_token)
|
858
|
+
SENSITIVE = []
|
859
|
+
include Aws::Structure
|
860
|
+
end
|
861
|
+
|
862
|
+
# @!attribute [rw] request_id
|
863
|
+
# The request ID that uniquely identifies this request.
|
864
|
+
# @return [String]
|
865
|
+
#
|
866
|
+
# @!attribute [rw] client_token
|
867
|
+
# The client token used to make this request idempotent.
|
868
|
+
# @return [String]
|
869
|
+
#
|
870
|
+
# @!attribute [rw] container_recipe_arn
|
871
|
+
# Returns the Amazon Resource Name (ARN) of the container recipe that
|
872
|
+
# the request created.
|
873
|
+
# @return [String]
|
874
|
+
#
|
875
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateContainerRecipeResponse AWS API Documentation
|
876
|
+
#
|
877
|
+
class CreateContainerRecipeResponse < Struct.new(
|
878
|
+
:request_id,
|
879
|
+
:client_token,
|
880
|
+
:container_recipe_arn)
|
881
|
+
SENSITIVE = []
|
882
|
+
include Aws::Structure
|
883
|
+
end
|
884
|
+
|
526
885
|
# @note When making an API call, you may pass CreateDistributionConfigurationRequest
|
527
886
|
# data as a hash:
|
528
887
|
#
|
@@ -535,16 +894,25 @@ module Aws::Imagebuilder
|
|
535
894
|
# ami_distribution_configuration: {
|
536
895
|
# name: "AmiNameString",
|
537
896
|
# description: "NonEmptyString",
|
897
|
+
# target_account_ids: ["AccountId"],
|
538
898
|
# ami_tags: {
|
539
899
|
# "TagKey" => "TagValue",
|
540
900
|
# },
|
541
901
|
# kms_key_id: "NonEmptyString",
|
542
902
|
# launch_permission: {
|
543
|
-
# user_ids: ["
|
903
|
+
# user_ids: ["AccountId"],
|
544
904
|
# user_groups: ["NonEmptyString"],
|
545
905
|
# },
|
546
906
|
# },
|
547
|
-
#
|
907
|
+
# container_distribution_configuration: {
|
908
|
+
# description: "NonEmptyString",
|
909
|
+
# container_tags: ["NonEmptyString"],
|
910
|
+
# target_repository: { # required
|
911
|
+
# service: "ECR", # required, accepts ECR
|
912
|
+
# repository_name: "NonEmptyString", # required
|
913
|
+
# },
|
914
|
+
# },
|
915
|
+
# license_configuration_arns: ["LicenseConfigurationArn"],
|
548
916
|
# },
|
549
917
|
# ],
|
550
918
|
# tags: {
|
@@ -617,7 +985,8 @@ module Aws::Imagebuilder
|
|
617
985
|
# {
|
618
986
|
# name: "ResourceName", # required
|
619
987
|
# description: "NonEmptyString",
|
620
|
-
# image_recipe_arn: "ImageRecipeArn",
|
988
|
+
# image_recipe_arn: "ImageRecipeArn",
|
989
|
+
# container_recipe_arn: "ContainerRecipeArn",
|
621
990
|
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
622
991
|
# distribution_configuration_arn: "DistributionConfigurationArn",
|
623
992
|
# image_tests_configuration: {
|
@@ -649,6 +1018,11 @@ module Aws::Imagebuilder
|
|
649
1018
|
# to configure images created by this image pipeline.
|
650
1019
|
# @return [String]
|
651
1020
|
#
|
1021
|
+
# @!attribute [rw] container_recipe_arn
|
1022
|
+
# The Amazon Resource Name (ARN) of the container recipe that is used
|
1023
|
+
# to configure images created by this container pipeline.
|
1024
|
+
# @return [String]
|
1025
|
+
#
|
652
1026
|
# @!attribute [rw] infrastructure_configuration_arn
|
653
1027
|
# The Amazon Resource Name (ARN) of the infrastructure configuration
|
654
1028
|
# that will be used to build images created by this image pipeline.
|
@@ -696,6 +1070,7 @@ module Aws::Imagebuilder
|
|
696
1070
|
:name,
|
697
1071
|
:description,
|
698
1072
|
:image_recipe_arn,
|
1073
|
+
:container_recipe_arn,
|
699
1074
|
:infrastructure_configuration_arn,
|
700
1075
|
:distribution_configuration_arn,
|
701
1076
|
:image_tests_configuration,
|
@@ -754,7 +1129,7 @@ module Aws::Imagebuilder
|
|
754
1129
|
# kms_key_id: "NonEmptyString",
|
755
1130
|
# snapshot_id: "NonEmptyString",
|
756
1131
|
# volume_size: 1,
|
757
|
-
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
1132
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
|
758
1133
|
# },
|
759
1134
|
# virtual_name: "NonEmptyString",
|
760
1135
|
# no_device: "EmptyString",
|
@@ -787,9 +1162,7 @@ module Aws::Imagebuilder
|
|
787
1162
|
# The parent image of the image recipe. The value of the string can be
|
788
1163
|
# the ARN of the parent image or an AMI ID. The format for the ARN
|
789
1164
|
# follows this example:
|
790
|
-
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/
|
791
|
-
# The ARN ends with `/20xx.x.x`, which communicates to EC2 Image
|
792
|
-
# Builder that you want to use the latest AMI created in 20xx (year).
|
1165
|
+
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/xxxx.x.x`.
|
793
1166
|
# You can provide the specific version that you want to use, or you
|
794
1167
|
# can use a wildcard in all of the fields. If you enter an AMI ID for
|
795
1168
|
# the string value, you must have access to the AMI, and the AMI must
|
@@ -858,7 +1231,8 @@ module Aws::Imagebuilder
|
|
858
1231
|
# data as a hash:
|
859
1232
|
#
|
860
1233
|
# {
|
861
|
-
# image_recipe_arn: "ImageRecipeArn",
|
1234
|
+
# image_recipe_arn: "ImageRecipeArn",
|
1235
|
+
# container_recipe_arn: "ContainerRecipeArn",
|
862
1236
|
# distribution_configuration_arn: "DistributionConfigurationArn",
|
863
1237
|
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
864
1238
|
# image_tests_configuration: {
|
@@ -877,6 +1251,11 @@ module Aws::Imagebuilder
|
|
877
1251
|
# images are configured, tested, and assessed.
|
878
1252
|
# @return [String]
|
879
1253
|
#
|
1254
|
+
# @!attribute [rw] container_recipe_arn
|
1255
|
+
# The Amazon Resource Name (ARN) of the container recipe that defines
|
1256
|
+
# how images are configured and tested.
|
1257
|
+
# @return [String]
|
1258
|
+
#
|
880
1259
|
# @!attribute [rw] distribution_configuration_arn
|
881
1260
|
# The Amazon Resource Name (ARN) of the distribution configuration
|
882
1261
|
# that defines and configures the outputs of your pipeline.
|
@@ -914,6 +1293,7 @@ module Aws::Imagebuilder
|
|
914
1293
|
#
|
915
1294
|
class CreateImageRequest < Struct.new(
|
916
1295
|
:image_recipe_arn,
|
1296
|
+
:container_recipe_arn,
|
917
1297
|
:distribution_configuration_arn,
|
918
1298
|
:infrastructure_configuration_arn,
|
919
1299
|
:image_tests_configuration,
|
@@ -1120,6 +1500,43 @@ module Aws::Imagebuilder
|
|
1120
1500
|
include Aws::Structure
|
1121
1501
|
end
|
1122
1502
|
|
1503
|
+
# @note When making an API call, you may pass DeleteContainerRecipeRequest
|
1504
|
+
# data as a hash:
|
1505
|
+
#
|
1506
|
+
# {
|
1507
|
+
# container_recipe_arn: "ContainerRecipeArn", # required
|
1508
|
+
# }
|
1509
|
+
#
|
1510
|
+
# @!attribute [rw] container_recipe_arn
|
1511
|
+
# The Amazon Resource Name (ARN) of the container recipe to delete.
|
1512
|
+
# @return [String]
|
1513
|
+
#
|
1514
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteContainerRecipeRequest AWS API Documentation
|
1515
|
+
#
|
1516
|
+
class DeleteContainerRecipeRequest < Struct.new(
|
1517
|
+
:container_recipe_arn)
|
1518
|
+
SENSITIVE = []
|
1519
|
+
include Aws::Structure
|
1520
|
+
end
|
1521
|
+
|
1522
|
+
# @!attribute [rw] request_id
|
1523
|
+
# The request ID that uniquely identifies this request.
|
1524
|
+
# @return [String]
|
1525
|
+
#
|
1526
|
+
# @!attribute [rw] container_recipe_arn
|
1527
|
+
# The Amazon Resource Name (ARN) of the container recipe that was
|
1528
|
+
# deleted.
|
1529
|
+
# @return [String]
|
1530
|
+
#
|
1531
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteContainerRecipeResponse AWS API Documentation
|
1532
|
+
#
|
1533
|
+
class DeleteContainerRecipeResponse < Struct.new(
|
1534
|
+
:request_id,
|
1535
|
+
:container_recipe_arn)
|
1536
|
+
SENSITIVE = []
|
1537
|
+
include Aws::Structure
|
1538
|
+
end
|
1539
|
+
|
1123
1540
|
# @note When making an API call, you may pass DeleteDistributionConfigurationRequest
|
1124
1541
|
# data as a hash:
|
1125
1542
|
#
|
@@ -1315,16 +1732,25 @@ module Aws::Imagebuilder
|
|
1315
1732
|
# ami_distribution_configuration: {
|
1316
1733
|
# name: "AmiNameString",
|
1317
1734
|
# description: "NonEmptyString",
|
1735
|
+
# target_account_ids: ["AccountId"],
|
1318
1736
|
# ami_tags: {
|
1319
1737
|
# "TagKey" => "TagValue",
|
1320
1738
|
# },
|
1321
1739
|
# kms_key_id: "NonEmptyString",
|
1322
1740
|
# launch_permission: {
|
1323
|
-
# user_ids: ["
|
1741
|
+
# user_ids: ["AccountId"],
|
1324
1742
|
# user_groups: ["NonEmptyString"],
|
1325
1743
|
# },
|
1326
1744
|
# },
|
1327
|
-
#
|
1745
|
+
# container_distribution_configuration: {
|
1746
|
+
# description: "NonEmptyString",
|
1747
|
+
# container_tags: ["NonEmptyString"],
|
1748
|
+
# target_repository: { # required
|
1749
|
+
# service: "ECR", # required, accepts ECR
|
1750
|
+
# repository_name: "NonEmptyString", # required
|
1751
|
+
# },
|
1752
|
+
# },
|
1753
|
+
# license_configuration_arns: ["LicenseConfigurationArn"],
|
1328
1754
|
# }
|
1329
1755
|
#
|
1330
1756
|
# @!attribute [rw] region
|
@@ -1336,6 +1762,11 @@ module Aws::Imagebuilder
|
|
1336
1762
|
# tags).
|
1337
1763
|
# @return [Types::AmiDistributionConfiguration]
|
1338
1764
|
#
|
1765
|
+
# @!attribute [rw] container_distribution_configuration
|
1766
|
+
# Container distribution settings for encryption, licensing, and
|
1767
|
+
# sharing in a specific Region.
|
1768
|
+
# @return [Types::ContainerDistributionConfiguration]
|
1769
|
+
#
|
1339
1770
|
# @!attribute [rw] license_configuration_arns
|
1340
1771
|
# The License Manager Configuration to associate with the AMI in the
|
1341
1772
|
# specified Region.
|
@@ -1346,6 +1777,7 @@ module Aws::Imagebuilder
|
|
1346
1777
|
class Distribution < Struct.new(
|
1347
1778
|
:region,
|
1348
1779
|
:ami_distribution_configuration,
|
1780
|
+
:container_distribution_configuration,
|
1349
1781
|
:license_configuration_arns)
|
1350
1782
|
SENSITIVE = []
|
1351
1783
|
include Aws::Structure
|
@@ -1426,6 +1858,10 @@ module Aws::Imagebuilder
|
|
1426
1858
|
# The tags associated with the distribution configuration.
|
1427
1859
|
# @return [Hash<String,String>]
|
1428
1860
|
#
|
1861
|
+
# @!attribute [rw] regions
|
1862
|
+
# A list of Regions where the container image is distributed to.
|
1863
|
+
# @return [Array<String>]
|
1864
|
+
#
|
1429
1865
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DistributionConfigurationSummary AWS API Documentation
|
1430
1866
|
#
|
1431
1867
|
class DistributionConfigurationSummary < Struct.new(
|
@@ -1434,7 +1870,8 @@ module Aws::Imagebuilder
|
|
1434
1870
|
:description,
|
1435
1871
|
:date_created,
|
1436
1872
|
:date_updated,
|
1437
|
-
:tags
|
1873
|
+
:tags,
|
1874
|
+
:regions)
|
1438
1875
|
SENSITIVE = []
|
1439
1876
|
include Aws::Structure
|
1440
1877
|
end
|
@@ -1451,7 +1888,7 @@ module Aws::Imagebuilder
|
|
1451
1888
|
# kms_key_id: "NonEmptyString",
|
1452
1889
|
# snapshot_id: "NonEmptyString",
|
1453
1890
|
# volume_size: 1,
|
1454
|
-
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
1891
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
|
1455
1892
|
# }
|
1456
1893
|
#
|
1457
1894
|
# @!attribute [rw] encrypted
|
@@ -1613,6 +2050,79 @@ module Aws::Imagebuilder
|
|
1613
2050
|
include Aws::Structure
|
1614
2051
|
end
|
1615
2052
|
|
2053
|
+
# @note When making an API call, you may pass GetContainerRecipePolicyRequest
|
2054
|
+
# data as a hash:
|
2055
|
+
#
|
2056
|
+
# {
|
2057
|
+
# container_recipe_arn: "ContainerRecipeArn", # required
|
2058
|
+
# }
|
2059
|
+
#
|
2060
|
+
# @!attribute [rw] container_recipe_arn
|
2061
|
+
# The Amazon Resource Name (ARN) of the container recipe for the
|
2062
|
+
# policy being requested.
|
2063
|
+
# @return [String]
|
2064
|
+
#
|
2065
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipePolicyRequest AWS API Documentation
|
2066
|
+
#
|
2067
|
+
class GetContainerRecipePolicyRequest < Struct.new(
|
2068
|
+
:container_recipe_arn)
|
2069
|
+
SENSITIVE = []
|
2070
|
+
include Aws::Structure
|
2071
|
+
end
|
2072
|
+
|
2073
|
+
# @!attribute [rw] request_id
|
2074
|
+
# The request ID that uniquely identifies this request.
|
2075
|
+
# @return [String]
|
2076
|
+
#
|
2077
|
+
# @!attribute [rw] policy
|
2078
|
+
# The container recipe policy object that is returned.
|
2079
|
+
# @return [String]
|
2080
|
+
#
|
2081
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipePolicyResponse AWS API Documentation
|
2082
|
+
#
|
2083
|
+
class GetContainerRecipePolicyResponse < Struct.new(
|
2084
|
+
:request_id,
|
2085
|
+
:policy)
|
2086
|
+
SENSITIVE = []
|
2087
|
+
include Aws::Structure
|
2088
|
+
end
|
2089
|
+
|
2090
|
+
# @note When making an API call, you may pass GetContainerRecipeRequest
|
2091
|
+
# data as a hash:
|
2092
|
+
#
|
2093
|
+
# {
|
2094
|
+
# container_recipe_arn: "ContainerRecipeArn", # required
|
2095
|
+
# }
|
2096
|
+
#
|
2097
|
+
# @!attribute [rw] container_recipe_arn
|
2098
|
+
# The Amazon Resource Name (ARN) of the container recipe to retrieve.
|
2099
|
+
# @return [String]
|
2100
|
+
#
|
2101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipeRequest AWS API Documentation
|
2102
|
+
#
|
2103
|
+
class GetContainerRecipeRequest < Struct.new(
|
2104
|
+
:container_recipe_arn)
|
2105
|
+
SENSITIVE = []
|
2106
|
+
include Aws::Structure
|
2107
|
+
end
|
2108
|
+
|
2109
|
+
# @!attribute [rw] request_id
|
2110
|
+
# The request ID that uniquely identifies this request.
|
2111
|
+
# @return [String]
|
2112
|
+
#
|
2113
|
+
# @!attribute [rw] container_recipe
|
2114
|
+
# The container recipe object that is returned.
|
2115
|
+
# @return [Types::ContainerRecipe]
|
2116
|
+
#
|
2117
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipeResponse AWS API Documentation
|
2118
|
+
#
|
2119
|
+
class GetContainerRecipeResponse < Struct.new(
|
2120
|
+
:request_id,
|
2121
|
+
:container_recipe)
|
2122
|
+
SENSITIVE = []
|
2123
|
+
include Aws::Structure
|
2124
|
+
end
|
2125
|
+
|
1616
2126
|
# @note When making an API call, you may pass GetDistributionConfigurationRequest
|
1617
2127
|
# data as a hash:
|
1618
2128
|
#
|
@@ -1897,6 +2407,10 @@ module Aws::Imagebuilder
|
|
1897
2407
|
# The Amazon Resource Name (ARN) of the image.
|
1898
2408
|
# @return [String]
|
1899
2409
|
#
|
2410
|
+
# @!attribute [rw] type
|
2411
|
+
# Specifies whether this is an AMI or container image.
|
2412
|
+
# @return [String]
|
2413
|
+
#
|
1900
2414
|
# @!attribute [rw] name
|
1901
2415
|
# The name of the image.
|
1902
2416
|
# @return [String]
|
@@ -1929,6 +2443,10 @@ module Aws::Imagebuilder
|
|
1929
2443
|
# The image recipe used when creating the image.
|
1930
2444
|
# @return [Types::ImageRecipe]
|
1931
2445
|
#
|
2446
|
+
# @!attribute [rw] container_recipe
|
2447
|
+
# The container recipe used to create the container image type.
|
2448
|
+
# @return [Types::ContainerRecipe]
|
2449
|
+
#
|
1932
2450
|
# @!attribute [rw] source_pipeline_name
|
1933
2451
|
# The name of the image pipeline that created this image.
|
1934
2452
|
# @return [String]
|
@@ -1966,6 +2484,7 @@ module Aws::Imagebuilder
|
|
1966
2484
|
#
|
1967
2485
|
class Image < Struct.new(
|
1968
2486
|
:arn,
|
2487
|
+
:type,
|
1969
2488
|
:name,
|
1970
2489
|
:version,
|
1971
2490
|
:platform,
|
@@ -1973,6 +2492,7 @@ module Aws::Imagebuilder
|
|
1973
2492
|
:os_version,
|
1974
2493
|
:state,
|
1975
2494
|
:image_recipe,
|
2495
|
+
:container_recipe,
|
1976
2496
|
:source_pipeline_name,
|
1977
2497
|
:source_pipeline_arn,
|
1978
2498
|
:infrastructure_configuration,
|
@@ -2015,6 +2535,11 @@ module Aws::Imagebuilder
|
|
2015
2535
|
# this image pipeline.
|
2016
2536
|
# @return [String]
|
2017
2537
|
#
|
2538
|
+
# @!attribute [rw] container_recipe_arn
|
2539
|
+
# The Amazon Resource Name (ARN) of the container recipe that is used
|
2540
|
+
# for this pipeline.
|
2541
|
+
# @return [String]
|
2542
|
+
#
|
2018
2543
|
# @!attribute [rw] infrastructure_configuration_arn
|
2019
2544
|
# The Amazon Resource Name (ARN) of the infrastructure configuration
|
2020
2545
|
# associated with this image pipeline.
|
@@ -2066,6 +2591,7 @@ module Aws::Imagebuilder
|
|
2066
2591
|
:platform,
|
2067
2592
|
:enhanced_image_metadata_enabled,
|
2068
2593
|
:image_recipe_arn,
|
2594
|
+
:container_recipe_arn,
|
2069
2595
|
:infrastructure_configuration_arn,
|
2070
2596
|
:distribution_configuration_arn,
|
2071
2597
|
:image_tests_configuration,
|
@@ -2086,6 +2612,11 @@ module Aws::Imagebuilder
|
|
2086
2612
|
# The Amazon Resource Name (ARN) of the image recipe.
|
2087
2613
|
# @return [String]
|
2088
2614
|
#
|
2615
|
+
# @!attribute [rw] type
|
2616
|
+
# Specifies which type of image is created by the recipe - an AMI or a
|
2617
|
+
# container image.
|
2618
|
+
# @return [String]
|
2619
|
+
#
|
2089
2620
|
# @!attribute [rw] name
|
2090
2621
|
# The name of the image recipe.
|
2091
2622
|
# @return [String]
|
@@ -2135,6 +2666,7 @@ module Aws::Imagebuilder
|
|
2135
2666
|
#
|
2136
2667
|
class ImageRecipe < Struct.new(
|
2137
2668
|
:arn,
|
2669
|
+
:type,
|
2138
2670
|
:name,
|
2139
2671
|
:description,
|
2140
2672
|
:platform,
|
@@ -2223,6 +2755,10 @@ module Aws::Imagebuilder
|
|
2223
2755
|
# The name of the image.
|
2224
2756
|
# @return [String]
|
2225
2757
|
#
|
2758
|
+
# @!attribute [rw] type
|
2759
|
+
# Specifies whether this is an AMI or container image.
|
2760
|
+
# @return [String]
|
2761
|
+
#
|
2226
2762
|
# @!attribute [rw] version
|
2227
2763
|
# The version of the image.
|
2228
2764
|
# @return [String]
|
@@ -2261,6 +2797,7 @@ module Aws::Imagebuilder
|
|
2261
2797
|
class ImageSummary < Struct.new(
|
2262
2798
|
:arn,
|
2263
2799
|
:name,
|
2800
|
+
:type,
|
2264
2801
|
:version,
|
2265
2802
|
:platform,
|
2266
2803
|
:os_version,
|
@@ -2310,6 +2847,10 @@ module Aws::Imagebuilder
|
|
2310
2847
|
# The name of the image semantic version.
|
2311
2848
|
# @return [String]
|
2312
2849
|
#
|
2850
|
+
# @!attribute [rw] type
|
2851
|
+
# Specifies whether this is an AMI or container image.
|
2852
|
+
# @return [String]
|
2853
|
+
#
|
2313
2854
|
# @!attribute [rw] version
|
2314
2855
|
# The semantic version of the image semantic version.
|
2315
2856
|
# @return [String]
|
@@ -2336,6 +2877,7 @@ module Aws::Imagebuilder
|
|
2336
2877
|
class ImageVersion < Struct.new(
|
2337
2878
|
:arn,
|
2338
2879
|
:name,
|
2880
|
+
:type,
|
2339
2881
|
:version,
|
2340
2882
|
:platform,
|
2341
2883
|
:os_version,
|
@@ -2613,7 +3155,7 @@ module Aws::Imagebuilder
|
|
2613
3155
|
# kms_key_id: "NonEmptyString",
|
2614
3156
|
# snapshot_id: "NonEmptyString",
|
2615
3157
|
# volume_size: 1,
|
2616
|
-
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
3158
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
|
2617
3159
|
# },
|
2618
3160
|
# virtual_name: "NonEmptyString",
|
2619
3161
|
# no_device: "EmptyString",
|
@@ -2743,7 +3285,7 @@ module Aws::Imagebuilder
|
|
2743
3285
|
# data as a hash:
|
2744
3286
|
#
|
2745
3287
|
# {
|
2746
|
-
# user_ids: ["
|
3288
|
+
# user_ids: ["AccountId"],
|
2747
3289
|
# user_groups: ["NonEmptyString"],
|
2748
3290
|
# }
|
2749
3291
|
#
|
@@ -2770,7 +3312,7 @@ module Aws::Imagebuilder
|
|
2770
3312
|
# {
|
2771
3313
|
# component_version_arn: "ComponentVersionArn", # required
|
2772
3314
|
# max_results: 1,
|
2773
|
-
# next_token: "
|
3315
|
+
# next_token: "PaginationToken",
|
2774
3316
|
# }
|
2775
3317
|
#
|
2776
3318
|
# @!attribute [rw] component_version_arn
|
@@ -2833,8 +3375,9 @@ module Aws::Imagebuilder
|
|
2833
3375
|
# values: ["FilterValue"],
|
2834
3376
|
# },
|
2835
3377
|
# ],
|
3378
|
+
# by_name: false,
|
2836
3379
|
# max_results: 1,
|
2837
|
-
# next_token: "
|
3380
|
+
# next_token: "PaginationToken",
|
2838
3381
|
# }
|
2839
3382
|
#
|
2840
3383
|
# @!attribute [rw] owner
|
@@ -2849,6 +3392,11 @@ module Aws::Imagebuilder
|
|
2849
3392
|
# The filters.
|
2850
3393
|
# @return [Array<Types::Filter>]
|
2851
3394
|
#
|
3395
|
+
# @!attribute [rw] by_name
|
3396
|
+
# Returns the list of component build versions for the specified
|
3397
|
+
# semantic version.
|
3398
|
+
# @return [Boolean]
|
3399
|
+
#
|
2852
3400
|
# @!attribute [rw] max_results
|
2853
3401
|
# The maximum items to return in a request.
|
2854
3402
|
# @return [Integer]
|
@@ -2863,6 +3411,7 @@ module Aws::Imagebuilder
|
|
2863
3411
|
class ListComponentsRequest < Struct.new(
|
2864
3412
|
:owner,
|
2865
3413
|
:filters,
|
3414
|
+
:by_name,
|
2866
3415
|
:max_results,
|
2867
3416
|
:next_token)
|
2868
3417
|
SENSITIVE = []
|
@@ -2894,10 +3443,11 @@ module Aws::Imagebuilder
|
|
2894
3443
|
include Aws::Structure
|
2895
3444
|
end
|
2896
3445
|
|
2897
|
-
# @note When making an API call, you may pass
|
3446
|
+
# @note When making an API call, you may pass ListContainerRecipesRequest
|
2898
3447
|
# data as a hash:
|
2899
3448
|
#
|
2900
3449
|
# {
|
3450
|
+
# owner: "Self", # accepts Self, Shared, Amazon
|
2901
3451
|
# filters: [
|
2902
3452
|
# {
|
2903
3453
|
# name: "FilterName",
|
@@ -2908,6 +3458,77 @@ module Aws::Imagebuilder
|
|
2908
3458
|
# next_token: "NonEmptyString",
|
2909
3459
|
# }
|
2910
3460
|
#
|
3461
|
+
# @!attribute [rw] owner
|
3462
|
+
# Returns container recipes belonging to the specified owner, that
|
3463
|
+
# have been shared with you. You can omit this field to return
|
3464
|
+
# container recipes belonging to your account.
|
3465
|
+
# @return [String]
|
3466
|
+
#
|
3467
|
+
# @!attribute [rw] filters
|
3468
|
+
# Request filters that are used to narrow the list of container images
|
3469
|
+
# that are returned.
|
3470
|
+
# @return [Array<Types::Filter>]
|
3471
|
+
#
|
3472
|
+
# @!attribute [rw] max_results
|
3473
|
+
# The maximum number of results to return in the list.
|
3474
|
+
# @return [Integer]
|
3475
|
+
#
|
3476
|
+
# @!attribute [rw] next_token
|
3477
|
+
# Provides a token for pagination, which determines where to begin the
|
3478
|
+
# next set of results when the current set reaches the maximum for one
|
3479
|
+
# request.
|
3480
|
+
# @return [String]
|
3481
|
+
#
|
3482
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListContainerRecipesRequest AWS API Documentation
|
3483
|
+
#
|
3484
|
+
class ListContainerRecipesRequest < Struct.new(
|
3485
|
+
:owner,
|
3486
|
+
:filters,
|
3487
|
+
:max_results,
|
3488
|
+
:next_token)
|
3489
|
+
SENSITIVE = []
|
3490
|
+
include Aws::Structure
|
3491
|
+
end
|
3492
|
+
|
3493
|
+
# @!attribute [rw] request_id
|
3494
|
+
# The request ID that uniquely identifies this request.
|
3495
|
+
# @return [String]
|
3496
|
+
#
|
3497
|
+
# @!attribute [rw] container_recipe_summary_list
|
3498
|
+
# The list of container recipes returned for the request.
|
3499
|
+
# @return [Array<Types::ContainerRecipeSummary>]
|
3500
|
+
#
|
3501
|
+
# @!attribute [rw] next_token
|
3502
|
+
# The next token field is used for paginated responses. When this is
|
3503
|
+
# not empty, there are additional container recipes that the service
|
3504
|
+
# has not included in this response. Use this token with the next
|
3505
|
+
# request to retrieve additional list items.
|
3506
|
+
# @return [String]
|
3507
|
+
#
|
3508
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListContainerRecipesResponse AWS API Documentation
|
3509
|
+
#
|
3510
|
+
class ListContainerRecipesResponse < Struct.new(
|
3511
|
+
:request_id,
|
3512
|
+
:container_recipe_summary_list,
|
3513
|
+
:next_token)
|
3514
|
+
SENSITIVE = []
|
3515
|
+
include Aws::Structure
|
3516
|
+
end
|
3517
|
+
|
3518
|
+
# @note When making an API call, you may pass ListDistributionConfigurationsRequest
|
3519
|
+
# data as a hash:
|
3520
|
+
#
|
3521
|
+
# {
|
3522
|
+
# filters: [
|
3523
|
+
# {
|
3524
|
+
# name: "FilterName",
|
3525
|
+
# values: ["FilterValue"],
|
3526
|
+
# },
|
3527
|
+
# ],
|
3528
|
+
# max_results: 1,
|
3529
|
+
# next_token: "PaginationToken",
|
3530
|
+
# }
|
3531
|
+
#
|
2911
3532
|
# @!attribute [rw] filters
|
2912
3533
|
# The filters.
|
2913
3534
|
#
|
@@ -2972,7 +3593,7 @@ module Aws::Imagebuilder
|
|
2972
3593
|
# },
|
2973
3594
|
# ],
|
2974
3595
|
# max_results: 1,
|
2975
|
-
# next_token: "
|
3596
|
+
# next_token: "PaginationToken",
|
2976
3597
|
# }
|
2977
3598
|
#
|
2978
3599
|
# @!attribute [rw] image_version_arn
|
@@ -3041,7 +3662,7 @@ module Aws::Imagebuilder
|
|
3041
3662
|
# },
|
3042
3663
|
# ],
|
3043
3664
|
# max_results: 1,
|
3044
|
-
# next_token: "
|
3665
|
+
# next_token: "PaginationToken",
|
3045
3666
|
# }
|
3046
3667
|
#
|
3047
3668
|
# @!attribute [rw] image_pipeline_arn
|
@@ -3109,7 +3730,7 @@ module Aws::Imagebuilder
|
|
3109
3730
|
# },
|
3110
3731
|
# ],
|
3111
3732
|
# max_results: 1,
|
3112
|
-
# next_token: "
|
3733
|
+
# next_token: "PaginationToken",
|
3113
3734
|
# }
|
3114
3735
|
#
|
3115
3736
|
# @!attribute [rw] filters
|
@@ -3172,7 +3793,7 @@ module Aws::Imagebuilder
|
|
3172
3793
|
# },
|
3173
3794
|
# ],
|
3174
3795
|
# max_results: 1,
|
3175
|
-
# next_token: "
|
3796
|
+
# next_token: "PaginationToken",
|
3176
3797
|
# }
|
3177
3798
|
#
|
3178
3799
|
# @!attribute [rw] owner
|
@@ -3243,8 +3864,10 @@ module Aws::Imagebuilder
|
|
3243
3864
|
# values: ["FilterValue"],
|
3244
3865
|
# },
|
3245
3866
|
# ],
|
3867
|
+
# by_name: false,
|
3246
3868
|
# max_results: 1,
|
3247
|
-
# next_token: "
|
3869
|
+
# next_token: "PaginationToken",
|
3870
|
+
# include_deprecated: false,
|
3248
3871
|
# }
|
3249
3872
|
#
|
3250
3873
|
# @!attribute [rw] owner
|
@@ -3259,6 +3882,10 @@ module Aws::Imagebuilder
|
|
3259
3882
|
# The filters.
|
3260
3883
|
# @return [Array<Types::Filter>]
|
3261
3884
|
#
|
3885
|
+
# @!attribute [rw] by_name
|
3886
|
+
# Requests a list of images with a specific recipe name.
|
3887
|
+
# @return [Boolean]
|
3888
|
+
#
|
3262
3889
|
# @!attribute [rw] max_results
|
3263
3890
|
# The maximum items to return in a request.
|
3264
3891
|
# @return [Integer]
|
@@ -3268,13 +3895,19 @@ module Aws::Imagebuilder
|
|
3268
3895
|
# from a previously truncated response.
|
3269
3896
|
# @return [String]
|
3270
3897
|
#
|
3898
|
+
# @!attribute [rw] include_deprecated
|
3899
|
+
# Includes deprecated images in the response list.
|
3900
|
+
# @return [Boolean]
|
3901
|
+
#
|
3271
3902
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagesRequest AWS API Documentation
|
3272
3903
|
#
|
3273
3904
|
class ListImagesRequest < Struct.new(
|
3274
3905
|
:owner,
|
3275
3906
|
:filters,
|
3907
|
+
:by_name,
|
3276
3908
|
:max_results,
|
3277
|
-
:next_token
|
3909
|
+
:next_token,
|
3910
|
+
:include_deprecated)
|
3278
3911
|
SENSITIVE = []
|
3279
3912
|
include Aws::Structure
|
3280
3913
|
end
|
@@ -3315,7 +3948,7 @@ module Aws::Imagebuilder
|
|
3315
3948
|
# },
|
3316
3949
|
# ],
|
3317
3950
|
# max_results: 1,
|
3318
|
-
# next_token: "
|
3951
|
+
# next_token: "PaginationToken",
|
3319
3952
|
# }
|
3320
3953
|
#
|
3321
3954
|
# @!attribute [rw] filters
|
@@ -3428,10 +4061,16 @@ module Aws::Imagebuilder
|
|
3428
4061
|
# The EC2 AMIs created by this image.
|
3429
4062
|
# @return [Array<Types::Ami>]
|
3430
4063
|
#
|
4064
|
+
# @!attribute [rw] containers
|
4065
|
+
# Container images that the pipeline has generated and stored in the
|
4066
|
+
# output repository.
|
4067
|
+
# @return [Array<Types::Container>]
|
4068
|
+
#
|
3431
4069
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/OutputResources AWS API Documentation
|
3432
4070
|
#
|
3433
4071
|
class OutputResources < Struct.new(
|
3434
|
-
:amis
|
4072
|
+
:amis,
|
4073
|
+
:containers)
|
3435
4074
|
SENSITIVE = []
|
3436
4075
|
include Aws::Structure
|
3437
4076
|
end
|
@@ -3480,6 +4119,50 @@ module Aws::Imagebuilder
|
|
3480
4119
|
include Aws::Structure
|
3481
4120
|
end
|
3482
4121
|
|
4122
|
+
# @note When making an API call, you may pass PutContainerRecipePolicyRequest
|
4123
|
+
# data as a hash:
|
4124
|
+
#
|
4125
|
+
# {
|
4126
|
+
# container_recipe_arn: "ContainerRecipeArn", # required
|
4127
|
+
# policy: "ResourcePolicyDocument", # required
|
4128
|
+
# }
|
4129
|
+
#
|
4130
|
+
# @!attribute [rw] container_recipe_arn
|
4131
|
+
# The Amazon Resource Name (ARN) of the container recipe that this
|
4132
|
+
# policy should be applied to.
|
4133
|
+
# @return [String]
|
4134
|
+
#
|
4135
|
+
# @!attribute [rw] policy
|
4136
|
+
# The policy to apply to the container recipe.
|
4137
|
+
# @return [String]
|
4138
|
+
#
|
4139
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutContainerRecipePolicyRequest AWS API Documentation
|
4140
|
+
#
|
4141
|
+
class PutContainerRecipePolicyRequest < Struct.new(
|
4142
|
+
:container_recipe_arn,
|
4143
|
+
:policy)
|
4144
|
+
SENSITIVE = []
|
4145
|
+
include Aws::Structure
|
4146
|
+
end
|
4147
|
+
|
4148
|
+
# @!attribute [rw] request_id
|
4149
|
+
# The request ID that uniquely identifies this request.
|
4150
|
+
# @return [String]
|
4151
|
+
#
|
4152
|
+
# @!attribute [rw] container_recipe_arn
|
4153
|
+
# The Amazon Resource Name (ARN) of the container recipe that this
|
4154
|
+
# policy was applied to.
|
4155
|
+
# @return [String]
|
4156
|
+
#
|
4157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutContainerRecipePolicyResponse AWS API Documentation
|
4158
|
+
#
|
4159
|
+
class PutContainerRecipePolicyResponse < Struct.new(
|
4160
|
+
:request_id,
|
4161
|
+
:container_recipe_arn)
|
4162
|
+
SENSITIVE = []
|
4163
|
+
include Aws::Structure
|
4164
|
+
end
|
4165
|
+
|
3483
4166
|
# @note When making an API call, you may pass PutImagePolicyRequest
|
3484
4167
|
# data as a hash:
|
3485
4168
|
#
|
@@ -3662,17 +4345,33 @@ module Aws::Imagebuilder
|
|
3662
4345
|
# }
|
3663
4346
|
#
|
3664
4347
|
# @!attribute [rw] schedule_expression
|
3665
|
-
# The expression determines how often EC2 Image Builder evaluates
|
3666
|
-
# `pipelineExecutionStartCondition`.
|
4348
|
+
# The cron expression determines how often EC2 Image Builder evaluates
|
4349
|
+
# your `pipelineExecutionStartCondition`.
|
4350
|
+
#
|
4351
|
+
# For information on how to format a cron expression in Image Builder,
|
4352
|
+
# see [Use cron expressions in EC2 Image Builder][1].
|
4353
|
+
#
|
4354
|
+
#
|
4355
|
+
#
|
4356
|
+
# [1]: https://docs.aws.amazon.com/imagebuilder/latest/userguide/image-builder-cron.html
|
3667
4357
|
# @return [String]
|
3668
4358
|
#
|
3669
4359
|
# @!attribute [rw] pipeline_execution_start_condition
|
3670
4360
|
# The condition configures when the pipeline should trigger a new
|
3671
4361
|
# image build. When the `pipelineExecutionStartCondition` is set to
|
3672
|
-
# `EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE`,
|
3673
|
-
#
|
3674
|
-
#
|
3675
|
-
# new
|
4362
|
+
# `EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE`, and you use
|
4363
|
+
# semantic version filters on the source image or components in your
|
4364
|
+
# image recipe, EC2 Image Builder will build a new image only when
|
4365
|
+
# there are new versions of the image or components in your recipe
|
4366
|
+
# that match the semantic version filter. When it is set to
|
4367
|
+
# `EXPRESSION_MATCH_ONLY`, it will build a new image every time the
|
4368
|
+
# CRON expression matches the current time. For semantic version
|
4369
|
+
# syntax, see [CreateComponent][1] in the <i> EC2 Image Builder API
|
4370
|
+
# Reference</i>.
|
4371
|
+
#
|
4372
|
+
#
|
4373
|
+
#
|
4374
|
+
# [1]: https://docs.aws.amazon.com/imagebuilder/latest/APIReference/API_CreateComponent.html
|
3676
4375
|
# @return [String]
|
3677
4376
|
#
|
3678
4377
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Schedule AWS API Documentation
|
@@ -3813,6 +4512,34 @@ module Aws::Imagebuilder
|
|
3813
4512
|
#
|
3814
4513
|
class TagResourceResponse < Aws::EmptyStructure; end
|
3815
4514
|
|
4515
|
+
# The container repository where the output container image is stored.
|
4516
|
+
#
|
4517
|
+
# @note When making an API call, you may pass TargetContainerRepository
|
4518
|
+
# data as a hash:
|
4519
|
+
#
|
4520
|
+
# {
|
4521
|
+
# service: "ECR", # required, accepts ECR
|
4522
|
+
# repository_name: "NonEmptyString", # required
|
4523
|
+
# }
|
4524
|
+
#
|
4525
|
+
# @!attribute [rw] service
|
4526
|
+
# Specifies the service in which this image was registered.
|
4527
|
+
# @return [String]
|
4528
|
+
#
|
4529
|
+
# @!attribute [rw] repository_name
|
4530
|
+
# The name of the container repository where the output container
|
4531
|
+
# image is stored. This name is prefixed by the repository location.
|
4532
|
+
# @return [String]
|
4533
|
+
#
|
4534
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/TargetContainerRepository AWS API Documentation
|
4535
|
+
#
|
4536
|
+
class TargetContainerRepository < Struct.new(
|
4537
|
+
:service,
|
4538
|
+
:repository_name)
|
4539
|
+
SENSITIVE = []
|
4540
|
+
include Aws::Structure
|
4541
|
+
end
|
4542
|
+
|
3816
4543
|
# @note When making an API call, you may pass UntagResourceRequest
|
3817
4544
|
# data as a hash:
|
3818
4545
|
#
|
@@ -3855,16 +4582,25 @@ module Aws::Imagebuilder
|
|
3855
4582
|
# ami_distribution_configuration: {
|
3856
4583
|
# name: "AmiNameString",
|
3857
4584
|
# description: "NonEmptyString",
|
4585
|
+
# target_account_ids: ["AccountId"],
|
3858
4586
|
# ami_tags: {
|
3859
4587
|
# "TagKey" => "TagValue",
|
3860
4588
|
# },
|
3861
4589
|
# kms_key_id: "NonEmptyString",
|
3862
4590
|
# launch_permission: {
|
3863
|
-
# user_ids: ["
|
4591
|
+
# user_ids: ["AccountId"],
|
3864
4592
|
# user_groups: ["NonEmptyString"],
|
3865
4593
|
# },
|
3866
4594
|
# },
|
3867
|
-
#
|
4595
|
+
# container_distribution_configuration: {
|
4596
|
+
# description: "NonEmptyString",
|
4597
|
+
# container_tags: ["NonEmptyString"],
|
4598
|
+
# target_repository: { # required
|
4599
|
+
# service: "ECR", # required, accepts ECR
|
4600
|
+
# repository_name: "NonEmptyString", # required
|
4601
|
+
# },
|
4602
|
+
# },
|
4603
|
+
# license_configuration_arns: ["LicenseConfigurationArn"],
|
3868
4604
|
# },
|
3869
4605
|
# ],
|
3870
4606
|
# client_token: "ClientToken", # required
|
@@ -3930,7 +4666,8 @@ module Aws::Imagebuilder
|
|
3930
4666
|
# {
|
3931
4667
|
# image_pipeline_arn: "ImagePipelineArn", # required
|
3932
4668
|
# description: "NonEmptyString",
|
3933
|
-
# image_recipe_arn: "ImageRecipeArn",
|
4669
|
+
# image_recipe_arn: "ImageRecipeArn",
|
4670
|
+
# container_recipe_arn: "ContainerRecipeArn",
|
3934
4671
|
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
3935
4672
|
# distribution_configuration_arn: "DistributionConfigurationArn",
|
3936
4673
|
# image_tests_configuration: {
|
@@ -3960,6 +4697,10 @@ module Aws::Imagebuilder
|
|
3960
4697
|
# to configure images updated by this image pipeline.
|
3961
4698
|
# @return [String]
|
3962
4699
|
#
|
4700
|
+
# @!attribute [rw] container_recipe_arn
|
4701
|
+
# The Amazon Resource Name (ARN) of the container pipeline to update.
|
4702
|
+
# @return [String]
|
4703
|
+
#
|
3963
4704
|
# @!attribute [rw] infrastructure_configuration_arn
|
3964
4705
|
# The Amazon Resource Name (ARN) of the infrastructure configuration
|
3965
4706
|
# that will be used to build images updated by this image pipeline.
|
@@ -4003,6 +4744,7 @@ module Aws::Imagebuilder
|
|
4003
4744
|
:image_pipeline_arn,
|
4004
4745
|
:description,
|
4005
4746
|
:image_recipe_arn,
|
4747
|
+
:container_recipe_arn,
|
4006
4748
|
:infrastructure_configuration_arn,
|
4007
4749
|
:distribution_configuration_arn,
|
4008
4750
|
:image_tests_configuration,
|