CfnAssociationMixinProps

class aws_cdk.mixins_preview.aws_devopsagent.mixins.CfnAssociationMixinProps(*, agent_space_id=None, configuration=None, service_id=None)

Bases: object

Properties for CfnAssociationPropsMixin.

Parameters:
  • agent_space_id (Optional[str]) – The unique identifier of the AgentSpace.

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

  • service_id (Optional[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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-association.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.mixins_preview.aws_devopsagent import mixins as devopsagent_mixins

# resource_metadata: Any

cfn_association_mixin_props = devopsagent_mixins.CfnAssociationMixinProps(
    agent_space_id="agentSpaceId",
    configuration=devopsagent_mixins.CfnAssociationPropsMixin.ServiceConfigurationProperty(
        aws=devopsagent_mixins.CfnAssociationPropsMixin.AWSConfigurationProperty(
            account_id="accountId",
            account_type="accountType",
            assumable_role_arn="assumableRoleArn",
            resources=[devopsagent_mixins.CfnAssociationPropsMixin.AWSResourceProperty(
                resource_arn="resourceArn",
                resource_metadata=resource_metadata,
                resource_type="resourceType"
            )],
            tags=[devopsagent_mixins.CfnAssociationPropsMixin.KeyValuePairProperty(
                key="key",
                value="value"
            )]
        ),
        dynatrace=devopsagent_mixins.CfnAssociationPropsMixin.DynatraceConfigurationProperty(
            enable_webhook_updates=False,
            env_id="envId",
            resources=["resources"]
        ),
        event_channel=devopsagent_mixins.CfnAssociationPropsMixin.EventChannelConfigurationProperty(
            enable_webhook_updates=False
        ),
        git_hub=devopsagent_mixins.CfnAssociationPropsMixin.GitHubConfigurationProperty(
            owner="owner",
            owner_type="ownerType",
            repo_id="repoId",
            repo_name="repoName"
        ),
        git_lab=devopsagent_mixins.CfnAssociationPropsMixin.GitLabConfigurationProperty(
            enable_webhook_updates=False,
            instance_identifier="instanceIdentifier",
            project_id="projectId",
            project_path="projectPath"
        ),
        mcp_server=devopsagent_mixins.CfnAssociationPropsMixin.MCPServerConfigurationProperty(
            description="description",
            enable_webhook_updates=False,
            endpoint="endpoint",
            name="name",
            tools=["tools"]
        ),
        mcp_server_datadog=devopsagent_mixins.CfnAssociationPropsMixin.MCPServerDatadogConfigurationProperty(
            description="description",
            enable_webhook_updates=False,
            endpoint="endpoint",
            name="name"
        ),
        mcp_server_new_relic=devopsagent_mixins.CfnAssociationPropsMixin.MCPServerNewRelicConfigurationProperty(
            account_id="accountId",
            endpoint="endpoint"
        ),
        mcp_server_splunk=devopsagent_mixins.CfnAssociationPropsMixin.MCPServerSplunkConfigurationProperty(
            description="description",
            enable_webhook_updates=False,
            endpoint="endpoint",
            name="name"
        ),
        service_now=devopsagent_mixins.CfnAssociationPropsMixin.ServiceNowConfigurationProperty(
            enable_webhook_updates=False,
            instance_id="instanceId"
        ),
        slack=devopsagent_mixins.CfnAssociationPropsMixin.SlackConfigurationProperty(
            transmission_target=devopsagent_mixins.CfnAssociationPropsMixin.SlackTransmissionTargetProperty(
                incident_response_target=devopsagent_mixins.CfnAssociationPropsMixin.SlackChannelProperty(
                    channel_id="channelId",
                    channel_name="channelName"
                )
            ),
            workspace_id="workspaceId",
            workspace_name="workspaceName"
        ),
        source_aws=devopsagent_mixins.CfnAssociationPropsMixin.SourceAwsConfigurationProperty(
            account_id="accountId",
            account_type="accountType",
            assumable_role_arn="assumableRoleArn",
            resources=[devopsagent_mixins.CfnAssociationPropsMixin.AWSResourceProperty(
                resource_arn="resourceArn",
                resource_metadata=resource_metadata,
                resource_type="resourceType"
            )],
            tags=[devopsagent_mixins.CfnAssociationPropsMixin.KeyValuePairProperty(
                key="key",
                value="value"
            )]
        )
    ),
    service_id="serviceId"
)

Attributes

agent_space_id

The unique identifier of the AgentSpace.

See:

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

configuration

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

See:

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

service_id

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

See:

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