Show / Hide Table of Contents

Class CfnAssociation

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

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnAssociation
Implements
IInspectable
IAssociationRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.DevOpsAgent
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAssociation : CfnResource, IInspectable, IAssociationRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnAssociation Inherits CfnResource Implements IInspectable, IAssociationRef, IConstruct, IDependable, IEnvironmentAware
Remarks

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

CloudformationResource: AWS::DevOpsAgent::Association

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.AWS.DevOpsAgent;

             var resourceMetadata;

             var cfnAssociation = new CfnAssociation(this, "MyCfnAssociation", new CfnAssociationProps {
                 AgentSpaceId = "agentSpaceId",
                 Configuration = new ServiceConfigurationProperty {
                     Aws = new AWSConfigurationProperty {
                         AccountId = "accountId",
                         AccountType = "accountType",
                         AssumableRoleArn = "assumableRoleArn",

                         // the properties below are optional
                         Resources = new [] { new AWSResourceProperty {
                             ResourceArn = "resourceArn",

                             // the properties below are optional
                             ResourceMetadata = resourceMetadata,
                             ResourceType = "resourceType"
                         } },
                         Tags = new [] { new KeyValuePairProperty {
                             Key = "key",
                             Value = "value"
                         } }
                     },
                     Dynatrace = new DynatraceConfigurationProperty {
                         EnvId = "envId",

                         // the properties below are optional
                         EnableWebhookUpdates = false,
                         Resources = new [] { "resources" }
                     },
                     EventChannel = new EventChannelConfigurationProperty {
                         EnableWebhookUpdates = false
                     },
                     GitHub = new GitHubConfigurationProperty {
                         Owner = "owner",
                         OwnerType = "ownerType",
                         RepoId = "repoId",
                         RepoName = "repoName"
                     },
                     GitLab = new GitLabConfigurationProperty {
                         ProjectId = "projectId",
                         ProjectPath = "projectPath",

                         // the properties below are optional
                         EnableWebhookUpdates = false,
                         InstanceIdentifier = "instanceIdentifier"
                     },
                     McpServer = new MCPServerConfigurationProperty {
                         Endpoint = "endpoint",
                         Name = "name",
                         Tools = new [] { "tools" },

                         // the properties below are optional
                         Description = "description",
                         EnableWebhookUpdates = false
                     },
                     McpServerDatadog = new MCPServerDatadogConfigurationProperty {
                         Endpoint = "endpoint",
                         Name = "name",

                         // the properties below are optional
                         Description = "description",
                         EnableWebhookUpdates = false
                     },
                     McpServerNewRelic = new MCPServerNewRelicConfigurationProperty {
                         AccountId = "accountId",
                         Endpoint = "endpoint"
                     },
                     McpServerSplunk = new MCPServerSplunkConfigurationProperty {
                         Endpoint = "endpoint",
                         Name = "name",

                         // the properties below are optional
                         Description = "description",
                         EnableWebhookUpdates = false
                     },
                     ServiceNow = new ServiceNowConfigurationProperty {
                         EnableWebhookUpdates = false,
                         InstanceId = "instanceId"
                     },
                     Slack = new SlackConfigurationProperty {
                         TransmissionTarget = new SlackTransmissionTargetProperty {
                             IncidentResponseTarget = new SlackChannelProperty {
                                 ChannelId = "channelId",

                                 // the properties below are optional
                                 ChannelName = "channelName"
                             }
                         },
                         WorkspaceId = "workspaceId",
                         WorkspaceName = "workspaceName"
                     },
                     SourceAws = new SourceAwsConfigurationProperty {
                         AccountId = "accountId",
                         AccountType = "accountType",
                         AssumableRoleArn = "assumableRoleArn",

                         // the properties below are optional
                         Resources = new [] { new AWSResourceProperty {
                             ResourceArn = "resourceArn",

                             // the properties below are optional
                             ResourceMetadata = resourceMetadata,
                             ResourceType = "resourceType"
                         } },
                         Tags = new [] { new KeyValuePairProperty {
                             Key = "key",
                             Value = "value"
                         } }
                     }
                 },
                 ServiceId = "serviceId"
             });

Synopsis

Constructors

CfnAssociation(Construct, string, ICfnAssociationProps)

Create a new AWS::DevOpsAgent::Association.

Properties

AgentSpaceId

The unique identifier of the AgentSpace.

AssociationRef

A reference to a Association resource.

AttrAssociationId

The unique identifier of the association.

AttrCreatedAt

The timestamp when the association was created.

AttrUpdatedAt

The timestamp when the association was last updated.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

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

Configuration

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

ServiceId

The identifier for the associated service.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnAssociation(object)

Checks whether the given object is a CfnAssociation.

RenderProperties(IDictionary<string, object>)

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

Constructors

CfnAssociation(Construct, string, ICfnAssociationProps)

Create a new AWS::DevOpsAgent::Association.

public CfnAssociation(Construct scope, string id, ICfnAssociationProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnAssociationProps

Resource properties.

Remarks

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

CloudformationResource: AWS::DevOpsAgent::Association

ExampleMetadata: fixture=_generated

Properties

AgentSpaceId

The unique identifier of the AgentSpace.

public virtual string AgentSpaceId { get; set; }
Property Value

string

Remarks

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

CloudformationResource: AWS::DevOpsAgent::Association

ExampleMetadata: fixture=_generated

AssociationRef

A reference to a Association resource.

public virtual IAssociationReference AssociationRef { get; }
Property Value

IAssociationReference

Remarks

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

CloudformationResource: AWS::DevOpsAgent::Association

ExampleMetadata: fixture=_generated

AttrAssociationId

The unique identifier of the association.

public virtual string AttrAssociationId { get; }
Property Value

string

Remarks

CloudformationAttribute: AssociationId

AttrCreatedAt

The timestamp when the association was created.

public virtual string AttrCreatedAt { get; }
Property Value

string

Remarks

CloudformationAttribute: CreatedAt

AttrUpdatedAt

The timestamp when the association was last updated.

public virtual string AttrUpdatedAt { get; }
Property Value

string

Remarks

CloudformationAttribute: UpdatedAt

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

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

CloudformationResource: AWS::DevOpsAgent::Association

ExampleMetadata: fixture=_generated

CfnProperties

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

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

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

CloudformationResource: AWS::DevOpsAgent::Association

ExampleMetadata: fixture=_generated

Configuration

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

public virtual object Configuration { get; set; }
Property Value

object

Remarks

Type union: either IResolvable or CfnAssociation.IServiceConfigurationProperty

ServiceId

The identifier for the associated service.

public virtual string ServiceId { get; set; }
Property Value

string

Remarks

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

CloudformationResource: AWS::DevOpsAgent::Association

ExampleMetadata: fixture=_generated

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

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

CloudformationResource: AWS::DevOpsAgent::Association

ExampleMetadata: fixture=_generated

IsCfnAssociation(object)

Checks whether the given object is a CfnAssociation.

public static bool IsCfnAssociation(object x)
Parameters
x object
Returns

bool

Remarks

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

CloudformationResource: AWS::DevOpsAgent::Association

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

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

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

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

CloudformationResource: AWS::DevOpsAgent::Association

ExampleMetadata: fixture=_generated

Implements

IInspectable
IAssociationRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX