Skip to content
v2.276.0

ExtensionAttributes Struct ​

Attributes of an existing AWS AppConfig extension to import.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appconfig as appconfig } from 'aws-cdk-lib';

declare const action: appconfig.Action;
const extensionAttributes: appconfig.ExtensionAttributes = {
  extensionId: 'extensionId',
  extensionVersionNumber: 123,

  // the properties below are optional
  actions: [action],
  description: 'description',
  extensionArn: 'extensionArn',
  name: 'name',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appconfig as appconfig

# action: appconfig.Action

extension_attributes = appconfig.ExtensionAttributes(
    extension_id="extensionId",
    extension_version_number=123,

    # the properties below are optional
    actions=[action],
    description="description",
    extension_arn="extensionArn",
    name="name"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appconfig.*;

Action action;

ExtensionAttributes extensionAttributes = ExtensionAttributes.builder()
        .extensionId("extensionId")
        .extensionVersionNumber(123)

        // the properties below are optional
        .actions(List.of(action))
        .description("description")
        .extensionArn("extensionArn")
        .name("name")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppConfig;

Action action;

var extensionAttributes = new ExtensionAttributes {
    ExtensionId = "extensionId",
    ExtensionVersionNumber = 123,

    // the properties below are optional
    Actions = new [] { action },
    Description = "description",
    ExtensionArn = "extensionArn",
    Name = "name"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var action Action

extensionAttributes := &ExtensionAttributes{
	ExtensionId: jsii.String("extensionId"),
	ExtensionVersionNumber: jsii.Number(123),

	// the properties below are optional
	Actions: []Action{
		action,
	},
	Description: jsii.String("description"),
	ExtensionArn: jsii.String("extensionArn"),
	Name: jsii.String("name"),
}

Properties ​

actionsoptionalAction[]actionsoptionaltyping.List[Action]actionsoptionalList<Action>ActionsoptionalAction[]Actionsoptional*[]Action= None.#
The actions of the extension.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string= None.#
The description of the extension.
extensionArnoptionalstringextension_arnoptionalstrextensionArnoptionalStringExtensionArnoptionalstringExtensionArnoptional*string#
The Amazon Resource Name (ARN) of the extension.

Default: The extension ARN is generated.

extensionIdstringextension_idstrextensionIdStringExtensionIdstringExtensionId*stringrequired#
The ID of the extension.
extensionVersionNumbernumberextension_version_numberint | floatextensionVersionNumberNumberExtensionVersionNumberdoubleExtensionVersionNumber*float64required#
The version number of the extension.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string= None.#
The name of the extension.