CfnAssociation

class aws_cdk.aws_devopsagent.CfnAssociation(scope, id, *, agent_space_id, configuration, service_id)

Bases: CfnResource

Resource Type definition for AWS::DevOpsAgent::Association defining how the AgentSpace interacts with external services like GitHub, Slack, AWS accounts, and others.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-association.html

CloudformationResource:

AWS::DevOpsAgent::Association

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

# resource_metadata: Any

cfn_association = devopsagent.CfnAssociation(self, "MyCfnAssociation",
    agent_space_id="agentSpaceId",
    configuration=devopsagent.CfnAssociation.ServiceConfigurationProperty(
        aws=devopsagent.CfnAssociation.AWSConfigurationProperty(
            account_id="accountId",
            account_type="accountType",
            assumable_role_arn="assumableRoleArn",

            # the properties below are optional
            resources=[devopsagent.CfnAssociation.AWSResourceProperty(
                resource_arn="resourceArn",

                # the properties below are optional
                resource_metadata=resource_metadata,
                resource_type="resourceType"
            )],
            tags=[devopsagent.CfnAssociation.KeyValuePairProperty(
                key="key",
                value="value"
            )]
        ),
        dynatrace=devopsagent.CfnAssociation.DynatraceConfigurationProperty(
            env_id="envId",

            # the properties below are optional
            enable_webhook_updates=False,
            resources=["resources"]
        ),
        event_channel=devopsagent.CfnAssociation.EventChannelConfigurationProperty(
            enable_webhook_updates=False
        ),
        git_hub=devopsagent.CfnAssociation.GitHubConfigurationProperty(
            owner="owner",
            owner_type="ownerType",
            repo_id="repoId",
            repo_name="repoName"
        ),
        git_lab=devopsagent.CfnAssociation.GitLabConfigurationProperty(
            project_id="projectId",
            project_path="projectPath",

            # the properties below are optional
            enable_webhook_updates=False,
            instance_identifier="instanceIdentifier"
        ),
        mcp_server=devopsagent.CfnAssociation.MCPServerConfigurationProperty(
            endpoint="endpoint",
            name="name",
            tools=["tools"],

            # the properties below are optional
            description="description",
            enable_webhook_updates=False
        ),
        mcp_server_datadog=devopsagent.CfnAssociation.MCPServerDatadogConfigurationProperty(
            endpoint="endpoint",
            name="name",

            # the properties below are optional
            description="description",
            enable_webhook_updates=False
        ),
        mcp_server_new_relic=devopsagent.CfnAssociation.MCPServerNewRelicConfigurationProperty(
            account_id="accountId",
            endpoint="endpoint"
        ),
        mcp_server_splunk=devopsagent.CfnAssociation.MCPServerSplunkConfigurationProperty(
            endpoint="endpoint",
            name="name",

            # the properties below are optional
            description="description",
            enable_webhook_updates=False
        ),
        service_now=devopsagent.CfnAssociation.ServiceNowConfigurationProperty(
            enable_webhook_updates=False,
            instance_id="instanceId"
        ),
        slack=devopsagent.CfnAssociation.SlackConfigurationProperty(
            transmission_target=devopsagent.CfnAssociation.SlackTransmissionTargetProperty(
                incident_response_target=devopsagent.CfnAssociation.SlackChannelProperty(
                    channel_id="channelId",

                    # the properties below are optional
                    channel_name="channelName"
                )
            ),
            workspace_id="workspaceId",
            workspace_name="workspaceName"
        ),
        source_aws=devopsagent.CfnAssociation.SourceAwsConfigurationProperty(
            account_id="accountId",
            account_type="accountType",
            assumable_role_arn="assumableRoleArn",

            # the properties below are optional
            resources=[devopsagent.CfnAssociation.AWSResourceProperty(
                resource_arn="resourceArn",

                # the properties below are optional
                resource_metadata=resource_metadata,
                resource_type="resourceType"
            )],
            tags=[devopsagent.CfnAssociation.KeyValuePairProperty(
                key="key",
                value="value"
            )]
        )
    ),
    service_id="serviceId"
)

Create a new AWS::DevOpsAgent::Association.

Parameters:
  • scope (Construct) – Scope in which this resource is defined.

  • id (str) – Construct identifier for this resource (unique in its scope).

  • agent_space_id (str) – The unique identifier of the AgentSpace.

  • configuration (Union[IResolvable, ServiceConfigurationProperty, Dict[str, Any]]) – The configuration that directs how AgentSpace interacts with the given service.

  • service_id (str) – The identifier for the associated service. For SourceAws and Aws configurations, this must be ‘aws’. For all other service types, this is a UUID generated from the RegisterService command

Methods

add_deletion_override(path)

Syntactic sugar for addOverride(path, undefined).

Parameters:

path (str) – The path of the value to delete.

Return type:

None

add_dependency(target)

Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.

Parameters:

target (CfnResource)

Return type:

None

add_depends_on(target)

(deprecated) Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

Parameters:

target (CfnResource)

Deprecated:

use addDependency

Stability:

deprecated

Return type:

None

add_metadata(key, value)

Add a value to the CloudFormation Resource Metadata.

Parameters:
  • key (str)

  • value (Any)

See:

Return type:

None

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

add_override(path, value)

Adds an override to the synthesized CloudFormation resource.

To add a property override, either use addPropertyOverride or prefix path with “Properties.” (i.e. Properties.TopicName).

If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.

To include a literal . in the property name, prefix with a \. In most programming languages you will need to write this as "\\." because the \ itself will need to be escaped.

For example:

cfn_resource.add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"])
cfn_resource.add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")

would add the overrides Example:

"Properties": {
  "GlobalSecondaryIndexes": [
    {
      "Projection": {
        "NonKeyAttributes": [ "myattribute" ]
        ...
      }
      ...
    },
    {
      "ProjectionType": "INCLUDE"
      ...
    },
  ]
  ...
}

The value argument to addOverride will not be processed or translated in any way. Pass raw JSON values in here with the correct capitalization for CloudFormation. If you pass CDK classes or structs, they will be rendered with lowercased key names, and CloudFormation will reject the template.

Parameters:
  • path (str) –

    • The path of the property, you can use dot notation to override values in complex types. Any intermediate keys will be created as needed.

  • value (Any) –

    • The value. Could be primitive or complex.

Return type:

None

add_property_deletion_override(property_path)

Adds an override that deletes the value of a property from the resource definition.

Parameters:

property_path (str) – The path to the property.

Return type:

None

add_property_override(property_path, value)

Adds an override to a resource property.

Syntactic sugar for addOverride("Properties.<...>", value).

Parameters:
  • property_path (str) – The path of the property.

  • value (Any) – The value.

Return type:

None

apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)

Sets the deletion policy of the resource based on the removal policy specified.

The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you’ve removed it from the CDK application or because you’ve made a change that requires the resource to be replaced.

The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN). In some cases, a snapshot can be taken of the resource prior to deletion (RemovalPolicy.SNAPSHOT). A list of resources that support this policy can be found in the following link:

Parameters:
  • policy (Optional[RemovalPolicy])

  • apply_to_update_replace_policy (Optional[bool]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: true

  • default (Optional[RemovalPolicy]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resource, please consult that specific resource’s documentation.

See:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options

Return type:

None

get_att(attribute_name, type_hint=None)

Returns a token for an runtime attribute of this resource.

Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.

Parameters:
  • attribute_name (str) – The name of the attribute.

  • type_hint (Optional[ResolutionTypeHint])

Return type:

Reference

get_metadata(key)

Retrieve a value value from the CloudFormation Resource Metadata.

Parameters:

key (str)

See:

Return type:

Any

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

inspect(inspector)

Examines the CloudFormation resource and discloses attributes.

Parameters:

inspector (TreeInspector) – tree inspector to collect and process attributes.

Return type:

None

obtain_dependencies()

Retrieves an array of resources this resource depends on.

This assembles dependencies on resources across stacks (including nested stacks) automatically.

Return type:

List[Union[Stack, CfnResource]]

obtain_resource_dependencies()

Get a shallow copy of dependencies between this resource and other resources in the same stack.

Return type:

List[CfnResource]

override_logical_id(new_logical_id)

Overrides the auto-generated logical ID with a specific ID.

Parameters:

new_logical_id (str) – The new logical ID to use for this stack element.

Return type:

None

remove_dependency(target)

Indicates that this resource no longer depends on another resource.

This can be used for resources across stacks (including nested stacks) and the dependency will automatically be removed from the relevant scope.

Parameters:

target (CfnResource)

Return type:

None

replace_dependency(target, new_target)

Replaces one dependency with another.

Parameters:
Return type:

None

to_string()

Returns a string representation of this construct.

Return type:

str

Returns:

a string representation of this resource

Attributes

CFN_RESOURCE_TYPE_NAME = 'AWS::DevOpsAgent::Association'
agent_space_id

The unique identifier of the AgentSpace.

association_ref

A reference to a Association resource.

attr_association_id

The unique identifier of the association.

CloudformationAttribute:

AssociationId

attr_created_at

The timestamp when the association was created.

CloudformationAttribute:

CreatedAt

attr_updated_at

The timestamp when the association was last updated.

CloudformationAttribute:

UpdatedAt

cfn_options

Options for this resource, such as condition, update policy etc.

cfn_resource_type

AWS resource type.

configuration

The configuration that directs how AgentSpace interacts with the given service.

creation_stack

return:

the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.

env
logical_id

The logical ID for this CloudFormation stack element.

The logical ID of the element is calculated from the path of the resource node in the construct tree.

To override this value, use overrideLogicalId(newLogicalId).

Returns:

the logical ID as a stringified token. This value will only get resolved during synthesis.

node

The tree node.

ref

Return a string that will be resolved to a CloudFormation { Ref } for this element.

If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).

service_id

The identifier for the associated service.

stack

The stack in which this element is defined.

CfnElements must be defined within a stack scope (directly or indirectly).

Static Methods

classmethod is_cfn_association(x)

Checks whether the given object is a CfnAssociation.

Parameters:

x (Any)

Return type:

bool

classmethod is_cfn_element(x)

Returns true if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of instanceof to allow stack elements from different versions of this library to be included in the same stack.

Parameters:

x (Any)

Return type:

bool

Returns:

The construct as a stack element or undefined if it is not a stack element.

classmethod is_cfn_resource(x)

Check whether the given object is a CfnResource.

Parameters:

x (Any)

Return type:

bool

classmethod is_construct(x)

Checks if x is a construct.

Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Construct.

AWSConfigurationProperty

class CfnAssociation.AWSConfigurationProperty(*, account_id, account_type, assumable_role_arn, resources=None, tags=None)

Bases: object

AWS association for ‘monitor’ account.

Parameters:
  • account_id (str) – AWS Account Id corresponding to provided resources.

  • account_type (str) – Account Type ‘monitor’ for DevOpsAgent monitoring.

  • assumable_role_arn (str) – Role ARN to be assumed by DevOpsAgent to operate on behalf of customer.

  • resources (Union[IResolvable, Sequence[Union[IResolvable, AWSResourceProperty, Dict[str, Any]]], None]) – List of AWS resources.

  • tags (Optional[Sequence[Union[KeyValuePairProperty, Dict[str, Any]]]]) – List of AWS tags as key-value pairs.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

# resource_metadata: Any

a_wSConfiguration_property = devopsagent.CfnAssociation.AWSConfigurationProperty(
    account_id="accountId",
    account_type="accountType",
    assumable_role_arn="assumableRoleArn",

    # the properties below are optional
    resources=[devopsagent.CfnAssociation.AWSResourceProperty(
        resource_arn="resourceArn",

        # the properties below are optional
        resource_metadata=resource_metadata,
        resource_type="resourceType"
    )],
    tags=[devopsagent.CfnAssociation.KeyValuePairProperty(
        key="key",
        value="value"
    )]
)

Attributes

account_id

AWS Account Id corresponding to provided resources.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsconfiguration.html#cfn-devopsagent-association-awsconfiguration-accountid

account_type

Account Type ‘monitor’ for DevOpsAgent monitoring.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsconfiguration.html#cfn-devopsagent-association-awsconfiguration-accounttype

assumable_role_arn

Role ARN to be assumed by DevOpsAgent to operate on behalf of customer.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsconfiguration.html#cfn-devopsagent-association-awsconfiguration-assumablerolearn

resources

List of AWS resources.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsconfiguration.html#cfn-devopsagent-association-awsconfiguration-resources

tags

List of AWS tags as key-value pairs.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsconfiguration.html#cfn-devopsagent-association-awsconfiguration-tags

AWSResourceProperty

class CfnAssociation.AWSResourceProperty(*, resource_arn, resource_metadata=None, resource_type=None)

Bases: object

AWS resource definition.

Parameters:
  • resource_arn (str) – The Amazon Resource Name (ARN) of the resource.

  • resource_metadata (Any) – Additional metadata for the resource.

  • resource_type (Optional[str]) – Resource type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsresource.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

# resource_metadata: Any

a_wSResource_property = devopsagent.CfnAssociation.AWSResourceProperty(
    resource_arn="resourceArn",

    # the properties below are optional
    resource_metadata=resource_metadata,
    resource_type="resourceType"
)

Attributes

resource_arn

The Amazon Resource Name (ARN) of the resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsresource.html#cfn-devopsagent-association-awsresource-resourcearn

resource_metadata

Additional metadata for the resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsresource.html#cfn-devopsagent-association-awsresource-resourcemetadata

resource_type

Resource type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsresource.html#cfn-devopsagent-association-awsresource-resourcetype

DynatraceConfigurationProperty

class CfnAssociation.DynatraceConfigurationProperty(*, env_id, enable_webhook_updates=None, resources=None)

Bases: object

Dynatrace monitoring configuration.

Parameters:
  • env_id (str) – Dynatrace environment id.

  • enable_webhook_updates (Union[bool, IResolvable, None]) – When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

  • resources (Optional[Sequence[str]]) – List of Dynatrace resources to monitor.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-dynatraceconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

dynatrace_configuration_property = devopsagent.CfnAssociation.DynatraceConfigurationProperty(
    env_id="envId",

    # the properties below are optional
    enable_webhook_updates=False,
    resources=["resources"]
)

Attributes

enable_webhook_updates

When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-dynatraceconfiguration.html#cfn-devopsagent-association-dynatraceconfiguration-enablewebhookupdates

env_id

Dynatrace environment id.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-dynatraceconfiguration.html#cfn-devopsagent-association-dynatraceconfiguration-envid

resources

List of Dynatrace resources to monitor.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-dynatraceconfiguration.html#cfn-devopsagent-association-dynatraceconfiguration-resources

EventChannelConfigurationProperty

class CfnAssociation.EventChannelConfigurationProperty(*, enable_webhook_updates=None)

Bases: object

EventChannelconfiguration.

Parameters:

enable_webhook_updates (Union[bool, IResolvable, None]) – When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-eventchannelconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

event_channel_configuration_property = devopsagent.CfnAssociation.EventChannelConfigurationProperty(
    enable_webhook_updates=False
)

Attributes

enable_webhook_updates

When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-eventchannelconfiguration.html#cfn-devopsagent-association-eventchannelconfiguration-enablewebhookupdates

GitHubConfigurationProperty

class CfnAssociation.GitHubConfigurationProperty(*, owner, owner_type, repo_id, repo_name)

Bases: object

GitHub repository integration configuration.

Parameters:
  • owner (str) – Repository owner.

  • owner_type (str) – Type of repository owner.

  • repo_id (str) – Associated Github repo ID.

  • repo_name (str) – Associated Github repo name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-githubconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

git_hub_configuration_property = devopsagent.CfnAssociation.GitHubConfigurationProperty(
    owner="owner",
    owner_type="ownerType",
    repo_id="repoId",
    repo_name="repoName"
)

Attributes

owner

Repository owner.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-githubconfiguration.html#cfn-devopsagent-association-githubconfiguration-owner

owner_type

Type of repository owner.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-githubconfiguration.html#cfn-devopsagent-association-githubconfiguration-ownertype

repo_id

Associated Github repo ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-githubconfiguration.html#cfn-devopsagent-association-githubconfiguration-repoid

repo_name

Associated Github repo name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-githubconfiguration.html#cfn-devopsagent-association-githubconfiguration-reponame

GitLabConfigurationProperty

class CfnAssociation.GitLabConfigurationProperty(*, project_id, project_path, enable_webhook_updates=None, instance_identifier=None)

Bases: object

GitLab project integration configuration.

Parameters:
  • project_id (str) – GitLab numeric project ID.

  • project_path (str) – Full GitLab project path (e.g., namespace/project-name).

  • enable_webhook_updates (Union[bool, IResolvable, None]) – When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

  • instance_identifier (Optional[str]) – GitLab instance identifier.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-gitlabconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

git_lab_configuration_property = devopsagent.CfnAssociation.GitLabConfigurationProperty(
    project_id="projectId",
    project_path="projectPath",

    # the properties below are optional
    enable_webhook_updates=False,
    instance_identifier="instanceIdentifier"
)

Attributes

enable_webhook_updates

When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-gitlabconfiguration.html#cfn-devopsagent-association-gitlabconfiguration-enablewebhookupdates

instance_identifier

GitLab instance identifier.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-gitlabconfiguration.html#cfn-devopsagent-association-gitlabconfiguration-instanceidentifier

project_id

GitLab numeric project ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-gitlabconfiguration.html#cfn-devopsagent-association-gitlabconfiguration-projectid

project_path

Full GitLab project path (e.g., namespace/project-name).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-gitlabconfiguration.html#cfn-devopsagent-association-gitlabconfiguration-projectpath

KeyValuePairProperty

class CfnAssociation.KeyValuePairProperty(*, key, value)

Bases: object

A key-value pair for tags.

Parameters:
  • key (str)

  • value (str)

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-keyvaluepair.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

key_value_pair_property = devopsagent.CfnAssociation.KeyValuePairProperty(
    key="key",
    value="value"
)

Attributes

key

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-keyvaluepair.html#cfn-devopsagent-association-keyvaluepair-key

Type:

see

value

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-keyvaluepair.html#cfn-devopsagent-association-keyvaluepair-value

Type:

see

MCPServerConfigurationProperty

class CfnAssociation.MCPServerConfigurationProperty(*, endpoint, name, tools, description=None, enable_webhook_updates=None)

Bases: object

MCP server configuration.

Parameters:
  • endpoint (str) – MCP server endpoint URL.

  • name (str) – The name of the MCP server.

  • tools (Sequence[str]) – List of MCP tools that can be used with the association.

  • description (Optional[str]) – The description of the MCP server.

  • enable_webhook_updates (Union[bool, IResolvable, None]) – When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

m_cPServer_configuration_property = devopsagent.CfnAssociation.MCPServerConfigurationProperty(
    endpoint="endpoint",
    name="name",
    tools=["tools"],

    # the properties below are optional
    description="description",
    enable_webhook_updates=False
)

Attributes

description

The description of the MCP server.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverconfiguration.html#cfn-devopsagent-association-mcpserverconfiguration-description

enable_webhook_updates

When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverconfiguration.html#cfn-devopsagent-association-mcpserverconfiguration-enablewebhookupdates

endpoint

MCP server endpoint URL.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverconfiguration.html#cfn-devopsagent-association-mcpserverconfiguration-endpoint

name

The name of the MCP server.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverconfiguration.html#cfn-devopsagent-association-mcpserverconfiguration-name

tools

List of MCP tools that can be used with the association.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverconfiguration.html#cfn-devopsagent-association-mcpserverconfiguration-tools

MCPServerDatadogConfigurationProperty

class CfnAssociation.MCPServerDatadogConfigurationProperty(*, endpoint, name, description=None, enable_webhook_updates=None)

Bases: object

Datadog MCP server configuration.

Parameters:
  • endpoint (str) – MCP server endpoint URL.

  • name (str) – The name of the MCP server.

  • description (Optional[str]) – The description of the MCP server.

  • enable_webhook_updates (Union[bool, IResolvable, None]) – When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverdatadogconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

m_cPServer_datadog_configuration_property = devopsagent.CfnAssociation.MCPServerDatadogConfigurationProperty(
    endpoint="endpoint",
    name="name",

    # the properties below are optional
    description="description",
    enable_webhook_updates=False
)

Attributes

description

The description of the MCP server.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverdatadogconfiguration.html#cfn-devopsagent-association-mcpserverdatadogconfiguration-description

enable_webhook_updates

When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverdatadogconfiguration.html#cfn-devopsagent-association-mcpserverdatadogconfiguration-enablewebhookupdates

endpoint

MCP server endpoint URL.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverdatadogconfiguration.html#cfn-devopsagent-association-mcpserverdatadogconfiguration-endpoint

name

The name of the MCP server.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverdatadogconfiguration.html#cfn-devopsagent-association-mcpserverdatadogconfiguration-name

MCPServerNewRelicConfigurationProperty

class CfnAssociation.MCPServerNewRelicConfigurationProperty(*, account_id, endpoint)

Bases: object

NewRelic MCP server configuration.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpservernewrelicconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

m_cPServer_new_relic_configuration_property = devopsagent.CfnAssociation.MCPServerNewRelicConfigurationProperty(
    account_id="accountId",
    endpoint="endpoint"
)

Attributes

account_id

New Relic Account ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpservernewrelicconfiguration.html#cfn-devopsagent-association-mcpservernewrelicconfiguration-accountid

endpoint

//mcp.newrelic.com/mcp/).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpservernewrelicconfiguration.html#cfn-devopsagent-association-mcpservernewrelicconfiguration-endpoint

Type:

MCP server endpoint URL (e.g., https

MCPServerSplunkConfigurationProperty

class CfnAssociation.MCPServerSplunkConfigurationProperty(*, endpoint, name, description=None, enable_webhook_updates=None)

Bases: object

Splunk MCP server configuration.

Parameters:
  • endpoint (str) – MCP server endpoint URL.

  • name (str) – The name of the MCP server.

  • description (Optional[str]) – The description of the MCP server.

  • enable_webhook_updates (Union[bool, IResolvable, None]) – When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserversplunkconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

m_cPServer_splunk_configuration_property = devopsagent.CfnAssociation.MCPServerSplunkConfigurationProperty(
    endpoint="endpoint",
    name="name",

    # the properties below are optional
    description="description",
    enable_webhook_updates=False
)

Attributes

description

The description of the MCP server.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserversplunkconfiguration.html#cfn-devopsagent-association-mcpserversplunkconfiguration-description

enable_webhook_updates

When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserversplunkconfiguration.html#cfn-devopsagent-association-mcpserversplunkconfiguration-enablewebhookupdates

endpoint

MCP server endpoint URL.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserversplunkconfiguration.html#cfn-devopsagent-association-mcpserversplunkconfiguration-endpoint

name

The name of the MCP server.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserversplunkconfiguration.html#cfn-devopsagent-association-mcpserversplunkconfiguration-name

ServiceConfigurationProperty

class CfnAssociation.ServiceConfigurationProperty(*, aws=None, dynatrace=None, event_channel=None, git_hub=None, git_lab=None, mcp_server=None, mcp_server_datadog=None, mcp_server_new_relic=None, mcp_server_splunk=None, service_now=None, slack=None, source_aws=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

# resource_metadata: Any

service_configuration_property = devopsagent.CfnAssociation.ServiceConfigurationProperty(
    aws=devopsagent.CfnAssociation.AWSConfigurationProperty(
        account_id="accountId",
        account_type="accountType",
        assumable_role_arn="assumableRoleArn",

        # the properties below are optional
        resources=[devopsagent.CfnAssociation.AWSResourceProperty(
            resource_arn="resourceArn",

            # the properties below are optional
            resource_metadata=resource_metadata,
            resource_type="resourceType"
        )],
        tags=[devopsagent.CfnAssociation.KeyValuePairProperty(
            key="key",
            value="value"
        )]
    ),
    dynatrace=devopsagent.CfnAssociation.DynatraceConfigurationProperty(
        env_id="envId",

        # the properties below are optional
        enable_webhook_updates=False,
        resources=["resources"]
    ),
    event_channel=devopsagent.CfnAssociation.EventChannelConfigurationProperty(
        enable_webhook_updates=False
    ),
    git_hub=devopsagent.CfnAssociation.GitHubConfigurationProperty(
        owner="owner",
        owner_type="ownerType",
        repo_id="repoId",
        repo_name="repoName"
    ),
    git_lab=devopsagent.CfnAssociation.GitLabConfigurationProperty(
        project_id="projectId",
        project_path="projectPath",

        # the properties below are optional
        enable_webhook_updates=False,
        instance_identifier="instanceIdentifier"
    ),
    mcp_server=devopsagent.CfnAssociation.MCPServerConfigurationProperty(
        endpoint="endpoint",
        name="name",
        tools=["tools"],

        # the properties below are optional
        description="description",
        enable_webhook_updates=False
    ),
    mcp_server_datadog=devopsagent.CfnAssociation.MCPServerDatadogConfigurationProperty(
        endpoint="endpoint",
        name="name",

        # the properties below are optional
        description="description",
        enable_webhook_updates=False
    ),
    mcp_server_new_relic=devopsagent.CfnAssociation.MCPServerNewRelicConfigurationProperty(
        account_id="accountId",
        endpoint="endpoint"
    ),
    mcp_server_splunk=devopsagent.CfnAssociation.MCPServerSplunkConfigurationProperty(
        endpoint="endpoint",
        name="name",

        # the properties below are optional
        description="description",
        enable_webhook_updates=False
    ),
    service_now=devopsagent.CfnAssociation.ServiceNowConfigurationProperty(
        enable_webhook_updates=False,
        instance_id="instanceId"
    ),
    slack=devopsagent.CfnAssociation.SlackConfigurationProperty(
        transmission_target=devopsagent.CfnAssociation.SlackTransmissionTargetProperty(
            incident_response_target=devopsagent.CfnAssociation.SlackChannelProperty(
                channel_id="channelId",

                # the properties below are optional
                channel_name="channelName"
            )
        ),
        workspace_id="workspaceId",
        workspace_name="workspaceName"
    ),
    source_aws=devopsagent.CfnAssociation.SourceAwsConfigurationProperty(
        account_id="accountId",
        account_type="accountType",
        assumable_role_arn="assumableRoleArn",

        # the properties below are optional
        resources=[devopsagent.CfnAssociation.AWSResourceProperty(
            resource_arn="resourceArn",

            # the properties below are optional
            resource_metadata=resource_metadata,
            resource_type="resourceType"
        )],
        tags=[devopsagent.CfnAssociation.KeyValuePairProperty(
            key="key",
            value="value"
        )]
    )
)

Attributes

aws

AWS association for ‘monitor’ account.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-aws

dynatrace

Dynatrace monitoring configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-dynatrace

event_channel

EventChannelconfiguration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-eventchannel

git_hub

GitHub repository integration configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-github

git_lab

GitLab project integration configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-gitlab

mcp_server

MCP server configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-mcpserver

mcp_server_datadog

Datadog MCP server configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-mcpserverdatadog

mcp_server_new_relic

NewRelic MCP server configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-mcpservernewrelic

mcp_server_splunk

Splunk MCP server configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-mcpserversplunk

service_now

ServiceNow integration configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-servicenow

slack

Slack workspace integration configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-slack

source_aws

AWS association for ‘source’ account.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-sourceaws

ServiceNowConfigurationProperty

class CfnAssociation.ServiceNowConfigurationProperty(*, enable_webhook_updates=None, instance_id=None)

Bases: object

ServiceNow integration configuration.

Parameters:
  • enable_webhook_updates (Union[bool, IResolvable, None]) – When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

  • instance_id (Optional[str]) – ServiceNow instance ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-servicenowconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

service_now_configuration_property = devopsagent.CfnAssociation.ServiceNowConfigurationProperty(
    enable_webhook_updates=False,
    instance_id="instanceId"
)

Attributes

enable_webhook_updates

When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-servicenowconfiguration.html#cfn-devopsagent-association-servicenowconfiguration-enablewebhookupdates

instance_id

ServiceNow instance ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-servicenowconfiguration.html#cfn-devopsagent-association-servicenowconfiguration-instanceid

SlackChannelProperty

class CfnAssociation.SlackChannelProperty(*, channel_id, channel_name=None)

Bases: object

Slack channel configuration.

Parameters:
  • channel_id (str) – Slack channel ID.

  • channel_name (Optional[str]) – Slack channel name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slackchannel.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

slack_channel_property = devopsagent.CfnAssociation.SlackChannelProperty(
    channel_id="channelId",

    # the properties below are optional
    channel_name="channelName"
)

Attributes

channel_id

Slack channel ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slackchannel.html#cfn-devopsagent-association-slackchannel-channelid

channel_name

Slack channel name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slackchannel.html#cfn-devopsagent-association-slackchannel-channelname

SlackConfigurationProperty

class CfnAssociation.SlackConfigurationProperty(*, transmission_target, workspace_id, workspace_name)

Bases: object

Slack workspace integration configuration.

Parameters:
  • transmission_target (Union[IResolvable, SlackTransmissionTargetProperty, Dict[str, Any]]) – Transmission targets for agent notifications.

  • workspace_id (str) – Associated Slack workspace ID.

  • workspace_name (str) – Associated Slack workspace name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slackconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

slack_configuration_property = devopsagent.CfnAssociation.SlackConfigurationProperty(
    transmission_target=devopsagent.CfnAssociation.SlackTransmissionTargetProperty(
        incident_response_target=devopsagent.CfnAssociation.SlackChannelProperty(
            channel_id="channelId",

            # the properties below are optional
            channel_name="channelName"
        )
    ),
    workspace_id="workspaceId",
    workspace_name="workspaceName"
)

Attributes

transmission_target

Transmission targets for agent notifications.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slackconfiguration.html#cfn-devopsagent-association-slackconfiguration-transmissiontarget

workspace_id

Associated Slack workspace ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slackconfiguration.html#cfn-devopsagent-association-slackconfiguration-workspaceid

workspace_name

Associated Slack workspace name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slackconfiguration.html#cfn-devopsagent-association-slackconfiguration-workspacename

SlackTransmissionTargetProperty

class CfnAssociation.SlackTransmissionTargetProperty(*, incident_response_target)

Bases: object

Transmission targets for agent notifications.

Parameters:

incident_response_target (Union[IResolvable, SlackChannelProperty, Dict[str, Any]]) – Slack channel configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slacktransmissiontarget.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

slack_transmission_target_property = devopsagent.CfnAssociation.SlackTransmissionTargetProperty(
    incident_response_target=devopsagent.CfnAssociation.SlackChannelProperty(
        channel_id="channelId",

        # the properties below are optional
        channel_name="channelName"
    )
)

Attributes

incident_response_target

Slack channel configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slacktransmissiontarget.html#cfn-devopsagent-association-slacktransmissiontarget-incidentresponsetarget

SourceAwsConfigurationProperty

class CfnAssociation.SourceAwsConfigurationProperty(*, account_id, account_type, assumable_role_arn, resources=None, tags=None)

Bases: object

AWS association for ‘source’ account.

Parameters:
  • account_id (str) – AWS Account Id corresponding to provided resources.

  • account_type (str) – Account Type ‘source’ for DevOpsAgent monitoring.

  • assumable_role_arn (str) – Role ARN to be assumed by DevOpsAgent to operate on behalf of customer.

  • resources (Union[IResolvable, Sequence[Union[IResolvable, AWSResourceProperty, Dict[str, Any]]], None]) – List of AWS resources.

  • tags (Optional[Sequence[Union[KeyValuePairProperty, Dict[str, Any]]]]) – List of AWS tags as key-value pairs.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-sourceawsconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

# resource_metadata: Any

source_aws_configuration_property = devopsagent.CfnAssociation.SourceAwsConfigurationProperty(
    account_id="accountId",
    account_type="accountType",
    assumable_role_arn="assumableRoleArn",

    # the properties below are optional
    resources=[devopsagent.CfnAssociation.AWSResourceProperty(
        resource_arn="resourceArn",

        # the properties below are optional
        resource_metadata=resource_metadata,
        resource_type="resourceType"
    )],
    tags=[devopsagent.CfnAssociation.KeyValuePairProperty(
        key="key",
        value="value"
    )]
)

Attributes

account_id

AWS Account Id corresponding to provided resources.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-sourceawsconfiguration.html#cfn-devopsagent-association-sourceawsconfiguration-accountid

account_type

Account Type ‘source’ for DevOpsAgent monitoring.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-sourceawsconfiguration.html#cfn-devopsagent-association-sourceawsconfiguration-accounttype

assumable_role_arn

Role ARN to be assumed by DevOpsAgent to operate on behalf of customer.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-sourceawsconfiguration.html#cfn-devopsagent-association-sourceawsconfiguration-assumablerolearn

resources

List of AWS resources.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-sourceawsconfiguration.html#cfn-devopsagent-association-sourceawsconfiguration-resources

tags

List of AWS tags as key-value pairs.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-sourceawsconfiguration.html#cfn-devopsagent-association-sourceawsconfiguration-tags