Class CfnAssociationPropsMixin
The AWS::DevOpsAgent::Association resource specifies an association between an Agent Space and a service, defining how the Agent Space interacts with external services like GitHub, Slack, AWS accounts, and others.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAssociationPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnAssociationPropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::DevOpsAgent::Association
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var resourceMetadata;
var cfnAssociationPropsMixin = new CfnAssociationPropsMixin(new CfnAssociationMixinProps {
AgentSpaceId = "agentSpaceId",
Configuration = new ServiceConfigurationProperty {
Aws = new AWSConfigurationProperty {
AccountId = "accountId",
AccountType = "accountType",
AssumableRoleArn = "assumableRoleArn",
Resources = new [] { new AWSResourceProperty {
ResourceArn = "resourceArn",
ResourceMetadata = resourceMetadata,
ResourceType = "resourceType"
} },
Tags = new [] { new KeyValuePairProperty {
Key = "key",
Value = "value"
} }
},
Dynatrace = new DynatraceConfigurationProperty {
EnableWebhookUpdates = false,
EnvId = "envId",
Resources = new [] { "resources" }
},
EventChannel = new EventChannelConfigurationProperty {
EnableWebhookUpdates = false
},
GitHub = new GitHubConfigurationProperty {
Owner = "owner",
OwnerType = "ownerType",
RepoId = "repoId",
RepoName = "repoName"
},
GitLab = new GitLabConfigurationProperty {
EnableWebhookUpdates = false,
InstanceIdentifier = "instanceIdentifier",
ProjectId = "projectId",
ProjectPath = "projectPath"
},
McpServer = new MCPServerConfigurationProperty {
Description = "description",
EnableWebhookUpdates = false,
Endpoint = "endpoint",
Name = "name",
Tools = new [] { "tools" }
},
McpServerDatadog = new MCPServerDatadogConfigurationProperty {
Description = "description",
EnableWebhookUpdates = false,
Endpoint = "endpoint",
Name = "name"
},
McpServerNewRelic = new MCPServerNewRelicConfigurationProperty {
AccountId = "accountId",
Endpoint = "endpoint"
},
McpServerSplunk = new MCPServerSplunkConfigurationProperty {
Description = "description",
EnableWebhookUpdates = false,
Endpoint = "endpoint",
Name = "name"
},
ServiceNow = new ServiceNowConfigurationProperty {
EnableWebhookUpdates = false,
InstanceId = "instanceId"
},
Slack = new SlackConfigurationProperty {
TransmissionTarget = new SlackTransmissionTargetProperty {
IncidentResponseTarget = new SlackChannelProperty {
ChannelId = "channelId",
ChannelName = "channelName"
}
},
WorkspaceId = "workspaceId",
WorkspaceName = "workspaceName"
},
SourceAws = new SourceAwsConfigurationProperty {
AccountId = "accountId",
AccountType = "accountType",
AssumableRoleArn = "assumableRoleArn",
Resources = new [] { new AWSResourceProperty {
ResourceArn = "resourceArn",
ResourceMetadata = resourceMetadata,
ResourceType = "resourceType"
} },
Tags = new [] { new KeyValuePairProperty {
Key = "key",
Value = "value"
} }
}
},
LinkedAssociationIds = new [] { "linkedAssociationIds" },
ServiceId = "serviceId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnAssociationPropsMixin(ICfnAssociationMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | The |
| Props | The |
| Strategy | The |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnAssociationPropsMixin(ICfnAssociationMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::DevOpsAgent::Association.
public CfnAssociationPropsMixin(ICfnAssociationMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnAssociationMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::DevOpsAgent::Association
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
The AWS::DevOpsAgent::Association resource specifies an association between an Agent Space and a service, defining how the Agent Space interacts with external services like GitHub, Slack, AWS accounts, and others.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::DevOpsAgent::Association
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var resourceMetadata;
var cfnAssociationPropsMixin = new CfnAssociationPropsMixin(new CfnAssociationMixinProps {
AgentSpaceId = "agentSpaceId",
Configuration = new ServiceConfigurationProperty {
Aws = new AWSConfigurationProperty {
AccountId = "accountId",
AccountType = "accountType",
AssumableRoleArn = "assumableRoleArn",
Resources = new [] { new AWSResourceProperty {
ResourceArn = "resourceArn",
ResourceMetadata = resourceMetadata,
ResourceType = "resourceType"
} },
Tags = new [] { new KeyValuePairProperty {
Key = "key",
Value = "value"
} }
},
Dynatrace = new DynatraceConfigurationProperty {
EnableWebhookUpdates = false,
EnvId = "envId",
Resources = new [] { "resources" }
},
EventChannel = new EventChannelConfigurationProperty {
EnableWebhookUpdates = false
},
GitHub = new GitHubConfigurationProperty {
Owner = "owner",
OwnerType = "ownerType",
RepoId = "repoId",
RepoName = "repoName"
},
GitLab = new GitLabConfigurationProperty {
EnableWebhookUpdates = false,
InstanceIdentifier = "instanceIdentifier",
ProjectId = "projectId",
ProjectPath = "projectPath"
},
McpServer = new MCPServerConfigurationProperty {
Description = "description",
EnableWebhookUpdates = false,
Endpoint = "endpoint",
Name = "name",
Tools = new [] { "tools" }
},
McpServerDatadog = new MCPServerDatadogConfigurationProperty {
Description = "description",
EnableWebhookUpdates = false,
Endpoint = "endpoint",
Name = "name"
},
McpServerNewRelic = new MCPServerNewRelicConfigurationProperty {
AccountId = "accountId",
Endpoint = "endpoint"
},
McpServerSplunk = new MCPServerSplunkConfigurationProperty {
Description = "description",
EnableWebhookUpdates = false,
Endpoint = "endpoint",
Name = "name"
},
ServiceNow = new ServiceNowConfigurationProperty {
EnableWebhookUpdates = false,
InstanceId = "instanceId"
},
Slack = new SlackConfigurationProperty {
TransmissionTarget = new SlackTransmissionTargetProperty {
IncidentResponseTarget = new SlackChannelProperty {
ChannelId = "channelId",
ChannelName = "channelName"
}
},
WorkspaceId = "workspaceId",
WorkspaceName = "workspaceName"
},
SourceAws = new SourceAwsConfigurationProperty {
AccountId = "accountId",
AccountType = "accountType",
AssumableRoleArn = "assumableRoleArn",
Resources = new [] { new AWSResourceProperty {
ResourceArn = "resourceArn",
ResourceMetadata = resourceMetadata,
ResourceType = "resourceType"
} },
Tags = new [] { new KeyValuePairProperty {
Key = "key",
Value = "value"
} }
}
},
LinkedAssociationIds = new [] { "linkedAssociationIds" },
ServiceId = "serviceId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
The AWS::DevOpsAgent::Association resource specifies an association between an Agent Space and a service, defining how the Agent Space interacts with external services like GitHub, Slack, AWS accounts, and others.
protected virtual ICfnAssociationMixinProps Props { get; }
Property Value
Remarks
CloudformationResource: AWS::DevOpsAgent::Association
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var resourceMetadata;
var cfnAssociationPropsMixin = new CfnAssociationPropsMixin(new CfnAssociationMixinProps {
AgentSpaceId = "agentSpaceId",
Configuration = new ServiceConfigurationProperty {
Aws = new AWSConfigurationProperty {
AccountId = "accountId",
AccountType = "accountType",
AssumableRoleArn = "assumableRoleArn",
Resources = new [] { new AWSResourceProperty {
ResourceArn = "resourceArn",
ResourceMetadata = resourceMetadata,
ResourceType = "resourceType"
} },
Tags = new [] { new KeyValuePairProperty {
Key = "key",
Value = "value"
} }
},
Dynatrace = new DynatraceConfigurationProperty {
EnableWebhookUpdates = false,
EnvId = "envId",
Resources = new [] { "resources" }
},
EventChannel = new EventChannelConfigurationProperty {
EnableWebhookUpdates = false
},
GitHub = new GitHubConfigurationProperty {
Owner = "owner",
OwnerType = "ownerType",
RepoId = "repoId",
RepoName = "repoName"
},
GitLab = new GitLabConfigurationProperty {
EnableWebhookUpdates = false,
InstanceIdentifier = "instanceIdentifier",
ProjectId = "projectId",
ProjectPath = "projectPath"
},
McpServer = new MCPServerConfigurationProperty {
Description = "description",
EnableWebhookUpdates = false,
Endpoint = "endpoint",
Name = "name",
Tools = new [] { "tools" }
},
McpServerDatadog = new MCPServerDatadogConfigurationProperty {
Description = "description",
EnableWebhookUpdates = false,
Endpoint = "endpoint",
Name = "name"
},
McpServerNewRelic = new MCPServerNewRelicConfigurationProperty {
AccountId = "accountId",
Endpoint = "endpoint"
},
McpServerSplunk = new MCPServerSplunkConfigurationProperty {
Description = "description",
EnableWebhookUpdates = false,
Endpoint = "endpoint",
Name = "name"
},
ServiceNow = new ServiceNowConfigurationProperty {
EnableWebhookUpdates = false,
InstanceId = "instanceId"
},
Slack = new SlackConfigurationProperty {
TransmissionTarget = new SlackTransmissionTargetProperty {
IncidentResponseTarget = new SlackChannelProperty {
ChannelId = "channelId",
ChannelName = "channelName"
}
},
WorkspaceId = "workspaceId",
WorkspaceName = "workspaceName"
},
SourceAws = new SourceAwsConfigurationProperty {
AccountId = "accountId",
AccountType = "accountType",
AssumableRoleArn = "assumableRoleArn",
Resources = new [] { new AWSResourceProperty {
ResourceArn = "resourceArn",
ResourceMetadata = resourceMetadata,
ResourceType = "resourceType"
} },
Tags = new [] { new KeyValuePairProperty {
Key = "key",
Value = "value"
} }
}
},
LinkedAssociationIds = new [] { "linkedAssociationIds" },
ServiceId = "serviceId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
The AWS::DevOpsAgent::Association resource specifies an association between an Agent Space and a service, defining how the Agent Space interacts with external services like GitHub, Slack, AWS accounts, and others.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::DevOpsAgent::Association
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var resourceMetadata;
var cfnAssociationPropsMixin = new CfnAssociationPropsMixin(new CfnAssociationMixinProps {
AgentSpaceId = "agentSpaceId",
Configuration = new ServiceConfigurationProperty {
Aws = new AWSConfigurationProperty {
AccountId = "accountId",
AccountType = "accountType",
AssumableRoleArn = "assumableRoleArn",
Resources = new [] { new AWSResourceProperty {
ResourceArn = "resourceArn",
ResourceMetadata = resourceMetadata,
ResourceType = "resourceType"
} },
Tags = new [] { new KeyValuePairProperty {
Key = "key",
Value = "value"
} }
},
Dynatrace = new DynatraceConfigurationProperty {
EnableWebhookUpdates = false,
EnvId = "envId",
Resources = new [] { "resources" }
},
EventChannel = new EventChannelConfigurationProperty {
EnableWebhookUpdates = false
},
GitHub = new GitHubConfigurationProperty {
Owner = "owner",
OwnerType = "ownerType",
RepoId = "repoId",
RepoName = "repoName"
},
GitLab = new GitLabConfigurationProperty {
EnableWebhookUpdates = false,
InstanceIdentifier = "instanceIdentifier",
ProjectId = "projectId",
ProjectPath = "projectPath"
},
McpServer = new MCPServerConfigurationProperty {
Description = "description",
EnableWebhookUpdates = false,
Endpoint = "endpoint",
Name = "name",
Tools = new [] { "tools" }
},
McpServerDatadog = new MCPServerDatadogConfigurationProperty {
Description = "description",
EnableWebhookUpdates = false,
Endpoint = "endpoint",
Name = "name"
},
McpServerNewRelic = new MCPServerNewRelicConfigurationProperty {
AccountId = "accountId",
Endpoint = "endpoint"
},
McpServerSplunk = new MCPServerSplunkConfigurationProperty {
Description = "description",
EnableWebhookUpdates = false,
Endpoint = "endpoint",
Name = "name"
},
ServiceNow = new ServiceNowConfigurationProperty {
EnableWebhookUpdates = false,
InstanceId = "instanceId"
},
Slack = new SlackConfigurationProperty {
TransmissionTarget = new SlackTransmissionTargetProperty {
IncidentResponseTarget = new SlackChannelProperty {
ChannelId = "channelId",
ChannelName = "channelName"
}
},
WorkspaceId = "workspaceId",
WorkspaceName = "workspaceName"
},
SourceAws = new SourceAwsConfigurationProperty {
AccountId = "accountId",
AccountType = "accountType",
AssumableRoleArn = "assumableRoleArn",
Resources = new [] { new AWSResourceProperty {
ResourceArn = "resourceArn",
ResourceMetadata = resourceMetadata,
ResourceType = "resourceType"
} },
Tags = new [] { new KeyValuePairProperty {
Key = "key",
Value = "value"
} }
}
},
LinkedAssociationIds = new [] { "linkedAssociationIds" },
ServiceId = "serviceId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
CloudformationResource: AWS::DevOpsAgent::Association
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
CloudformationResource: AWS::DevOpsAgent::Association
Mixin: true
ExampleMetadata: fixture=_generated