Class AmazonManagedComponent
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.imagebuilder.alpha.AmazonManagedComponent
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:21.644Z")
@Stability(Experimental)
public abstract class AmazonManagedComponent
extends software.amazon.jsii.JsiiObject
(experimental) Helper class for working with Amazon-managed components.
Example:
ImageRecipe imageRecipe = ImageRecipe.Builder.create(this, "AmazonManagedImageRecipe")
.baseImage(BaseImage.fromSsmParameterName("/aws/service/ami-amazon-linux-latest/al2023-ami-minimal-kernel-default-x86_64"))
.components(List.of(ComponentConfiguration.builder()
.component(AmazonManagedComponent.updateOs(this, "UpdateOS", AmazonManagedComponentOptions.builder()
.platform(Platform.LINUX)
.build()))
.build(), ComponentConfiguration.builder()
.component(AmazonManagedComponent.awsCliV2(this, "AwsCli", AmazonManagedComponentOptions.builder()
.platform(Platform.LINUX)
.build()))
.build()))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAmazonManagedComponent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedAmazonManagedComponent(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic IComponentawsCliV2(software.constructs.Construct scope, String id, AmazonManagedComponentOptions opts) (experimental) Imports the AWS CLI v2 Amazon-managed component.static IComponentfromAmazonManagedComponentAttributes(software.constructs.Construct scope, String id, AmazonManagedComponentAttributes attrs) (experimental) Imports an Amazon-managed component from its attributes.static IComponentfromAmazonManagedComponentName(software.constructs.Construct scope, String id, String amazonManagedComponentName) (experimental) Imports an Amazon-managed component from its name.static IComponenthelloWorld(software.constructs.Construct scope, String id, AmazonManagedComponentOptions opts) (experimental) Imports the hello world Amazon-managed component.static IComponentpython3(software.constructs.Construct scope, String id, AmazonManagedComponentOptions opts) (experimental) Imports the Python 3 Amazon-managed component.static IComponentreboot(software.constructs.Construct scope, String id, AmazonManagedComponentOptions opts) (experimental) Imports the reboot Amazon-managed component.static IComponentstigBuild(software.constructs.Construct scope, String id, AmazonManagedComponentOptions opts) (experimental) Imports the STIG hardening Amazon-managed component.static IComponentupdateOs(software.constructs.Construct scope, String id, AmazonManagedComponentOptions opts) (experimental) Imports the OS update Amazon-managed component.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
AmazonManagedComponent
protected AmazonManagedComponent(software.amazon.jsii.JsiiObjectRef objRef) -
AmazonManagedComponent
protected AmazonManagedComponent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
AmazonManagedComponent
@Stability(Experimental) protected AmazonManagedComponent()
-
-
Method Details
-
awsCliV2
@Stability(Experimental) @NotNull public static IComponent awsCliV2(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AmazonManagedComponentOptions opts) (experimental) Imports the AWS CLI v2 Amazon-managed component.- Parameters:
scope- The construct scope. This parameter is required.id- Identifier of the construct. This parameter is required.opts- The Amazon-managed component options. This parameter is required.
-
fromAmazonManagedComponentAttributes
@Stability(Experimental) @NotNull public static IComponent fromAmazonManagedComponentAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AmazonManagedComponentAttributes attrs) (experimental) Imports an Amazon-managed component from its attributes.- Parameters:
scope- The construct scope. This parameter is required.id- Identifier of the construct. This parameter is required.attrs- The Amazon-managed component attributes. This parameter is required.
-
fromAmazonManagedComponentName
@Stability(Experimental) @NotNull public static IComponent fromAmazonManagedComponentName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String amazonManagedComponentName) (experimental) Imports an Amazon-managed component from its name.- Parameters:
scope- The construct scope. This parameter is required.id- Identifier of the construct. This parameter is required.amazonManagedComponentName-- The name of the Amazon-managed component.
-
helloWorld
@Stability(Experimental) @NotNull public static IComponent helloWorld(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AmazonManagedComponentOptions opts) (experimental) Imports the hello world Amazon-managed component.- Parameters:
scope- The construct scope. This parameter is required.id- Identifier of the construct. This parameter is required.opts- The Amazon-managed component options. This parameter is required.
-
python3
@Stability(Experimental) @NotNull public static IComponent python3(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AmazonManagedComponentOptions opts) (experimental) Imports the Python 3 Amazon-managed component.- Parameters:
scope- The construct scope. This parameter is required.id- Identifier of the construct. This parameter is required.opts- The Amazon-managed component options. This parameter is required.
-
reboot
@Stability(Experimental) @NotNull public static IComponent reboot(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AmazonManagedComponentOptions opts) (experimental) Imports the reboot Amazon-managed component.- Parameters:
scope- The construct scope. This parameter is required.id- Identifier of the construct. This parameter is required.opts- The Amazon-managed component options. This parameter is required.
-
stigBuild
@Stability(Experimental) @NotNull public static IComponent stigBuild(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AmazonManagedComponentOptions opts) (experimental) Imports the STIG hardening Amazon-managed component.- Parameters:
scope- The construct scope. This parameter is required.id- Identifier of the construct. This parameter is required.opts- The Amazon-managed component options. This parameter is required.- See Also:
-
updateOs
@Stability(Experimental) @NotNull public static IComponent updateOs(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AmazonManagedComponentOptions opts) (experimental) Imports the OS update Amazon-managed component.- Parameters:
scope- The construct scope. This parameter is required.id- Identifier of the construct. This parameter is required.opts- The Amazon-managed component attributes. This parameter is required.
-