Documentation
¶
Index ¶
- func CfnAgentSpace_ArnForAgentSpace(resource interfacesawsdevopsagent.IAgentSpaceRef) *string
- func CfnAgentSpace_CFN_RESOURCE_TYPE_NAME() *string
- func CfnAgentSpace_FromAgentSpaceArn(scope constructs.Construct, id *string, arn *string) interfacesawsdevopsagent.IAgentSpaceRef
- func CfnAgentSpace_FromAgentSpaceId(scope constructs.Construct, id *string, agentSpaceId *string) interfacesawsdevopsagent.IAgentSpaceRef
- func CfnAgentSpace_IsCfnAgentSpace(x interface{}) *bool
- func CfnAgentSpace_IsCfnElement(x interface{}) *bool
- func CfnAgentSpace_IsCfnResource(x interface{}) *bool
- func CfnAgentSpace_IsConstruct(x interface{}) *bool
- func CfnAssociation_CFN_RESOURCE_TYPE_NAME() *string
- func CfnAssociation_IsCfnAssociation(x interface{}) *bool
- func CfnAssociation_IsCfnElement(x interface{}) *bool
- func CfnAssociation_IsCfnResource(x interface{}) *bool
- func CfnAssociation_IsConstruct(x interface{}) *bool
- func CfnPrivateConnection_ArnForPrivateConnection(resource interfacesawsdevopsagent.IPrivateConnectionRef) *string
- func CfnPrivateConnection_CFN_RESOURCE_TYPE_NAME() *string
- func CfnPrivateConnection_IsCfnElement(x interface{}) *bool
- func CfnPrivateConnection_IsCfnPrivateConnection(x interface{}) *bool
- func CfnPrivateConnection_IsCfnResource(x interface{}) *bool
- func CfnPrivateConnection_IsConstruct(x interface{}) *bool
- func CfnService_ArnForService(resource interfacesawsdevopsagent.IServiceRef) *string
- func CfnService_CFN_RESOURCE_TYPE_NAME() *string
- func CfnService_FromServiceArn(scope constructs.Construct, id *string, arn *string) interfacesawsdevopsagent.IServiceRef
- func CfnService_FromServiceId(scope constructs.Construct, id *string, serviceId *string) interfacesawsdevopsagent.IServiceRef
- func CfnService_IsCfnElement(x interface{}) *bool
- func CfnService_IsCfnResource(x interface{}) *bool
- func CfnService_IsCfnService(x interface{}) *bool
- func CfnService_IsConstruct(x interface{}) *bool
- func NewCfnAgentSpace_Override(c CfnAgentSpace, scope constructs.Construct, id *string, ...)
- func NewCfnAssociation_Override(c CfnAssociation, scope constructs.Construct, id *string, ...)
- func NewCfnPrivateConnection_Override(c CfnPrivateConnection, scope constructs.Construct, id *string, ...)
- func NewCfnService_Override(c CfnService, scope constructs.Construct, id *string, props *CfnServiceProps)
- type CfnAgentSpace
- type CfnAgentSpaceProps
- type CfnAgentSpace_IamAuthConfigurationProperty
- type CfnAgentSpace_IdcAuthConfigurationProperty
- type CfnAgentSpace_OperatorAppProperty
- type CfnAssociation
- type CfnAssociationProps
- type CfnAssociation_AWSConfigurationProperty
- type CfnAssociation_AWSResourceProperty
- type CfnAssociation_AzureConfigurationProperty
- type CfnAssociation_DynatraceConfigurationProperty
- type CfnAssociation_EventChannelConfigurationProperty
- type CfnAssociation_GitHubConfigurationProperty
- type CfnAssociation_GitLabConfigurationProperty
- type CfnAssociation_KeyValuePairProperty
- type CfnAssociation_MCPServerConfigurationProperty
- type CfnAssociation_MCPServerDatadogConfigurationProperty
- type CfnAssociation_MCPServerGrafanaConfigurationProperty
- type CfnAssociation_MCPServerNewRelicConfigurationProperty
- type CfnAssociation_MCPServerSigV4ConfigurationProperty
- type CfnAssociation_MCPServerSplunkConfigurationProperty
- type CfnAssociation_PagerDutyConfigurationProperty
- type CfnAssociation_ServiceConfigurationProperty
- type CfnAssociation_ServiceNowConfigurationProperty
- type CfnAssociation_SlackChannelProperty
- type CfnAssociation_SlackConfigurationProperty
- type CfnAssociation_SlackTransmissionTargetProperty
- type CfnAssociation_SourceAwsConfigurationProperty
- type CfnPrivateConnection
- type CfnPrivateConnectionProps
- type CfnPrivateConnection_ConnectionConfigurationProperty
- type CfnPrivateConnection_SelfManagedModeProperty
- type CfnPrivateConnection_ServiceManagedModeProperty
- type CfnService
- type CfnServiceProps
- type CfnService_AdditionalServiceDetailsProperty
- type CfnService_ApiKeyDetailsProperty
- type CfnService_AzureIdentityServiceDetailsProperty
- type CfnService_BearerTokenDetailsProperty
- type CfnService_DynatraceAuthorizationConfigProperty
- type CfnService_DynatraceServiceDetailsProperty
- type CfnService_GitLabDetailsProperty
- type CfnService_MCPServerAuthorizationConfigProperty
- type CfnService_MCPServerDetailsProperty
- type CfnService_MCPServerGrafanaAuthorizationConfigProperty
- type CfnService_MCPServerGrafanaDetailsProperty
- type CfnService_MCPServerOAuthClientCredentialsConfigProperty
- type CfnService_MCPServerSigV4AuthorizationConfigProperty
- type CfnService_MCPServerSigV4DetailsProperty
- type CfnService_MCPServerSplunkAuthorizationConfigProperty
- type CfnService_MCPServerSplunkDetailsProperty
- type CfnService_NewRelicApiKeyConfigProperty
- type CfnService_NewRelicAuthorizationConfigProperty
- type CfnService_NewRelicServiceDetailsProperty
- type CfnService_OAuthClientDetailsProperty
- type CfnService_PagerDutyAuthorizationConfigProperty
- type CfnService_PagerDutyDetailsProperty
- type CfnService_RegisteredAzureIdentityDetailsProperty
- type CfnService_RegisteredDynatraceDetailsProperty
- type CfnService_RegisteredGitLabServiceDetailsProperty
- type CfnService_RegisteredMCPServerDetailsProperty
- type CfnService_RegisteredMCPServerGrafanaDetailsProperty
- type CfnService_RegisteredMCPServerSigV4DetailsProperty
- type CfnService_RegisteredNewRelicDetailsProperty
- type CfnService_RegisteredPagerDutyDetailsProperty
- type CfnService_RegisteredServiceNowDetailsProperty
- type CfnService_ServiceDetailsProperty
- type CfnService_ServiceNowAuthorizationConfigProperty
- type CfnService_ServiceNowServiceDetailsProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnAgentSpace_ArnForAgentSpace ¶
func CfnAgentSpace_ArnForAgentSpace(resource interfacesawsdevopsagent.IAgentSpaceRef) *string
func CfnAgentSpace_CFN_RESOURCE_TYPE_NAME ¶
func CfnAgentSpace_CFN_RESOURCE_TYPE_NAME() *string
func CfnAgentSpace_FromAgentSpaceArn ¶ added in v2.238.0
func CfnAgentSpace_FromAgentSpaceArn(scope constructs.Construct, id *string, arn *string) interfacesawsdevopsagent.IAgentSpaceRef
Creates a new IAgentSpaceRef from an ARN.
func CfnAgentSpace_FromAgentSpaceId ¶ added in v2.238.0
func CfnAgentSpace_FromAgentSpaceId(scope constructs.Construct, id *string, agentSpaceId *string) interfacesawsdevopsagent.IAgentSpaceRef
Creates a new IAgentSpaceRef from a agentSpaceId.
func CfnAgentSpace_IsCfnAgentSpace ¶
func CfnAgentSpace_IsCfnAgentSpace(x interface{}) *bool
Checks whether the given object is a CfnAgentSpace.
func CfnAgentSpace_IsCfnElement ¶
func CfnAgentSpace_IsCfnElement(x interface{}) *bool
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.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnAgentSpace_IsCfnResource ¶
func CfnAgentSpace_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnAgentSpace_IsConstruct ¶
func CfnAgentSpace_IsConstruct(x interface{}) *bool
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.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnAssociation_CFN_RESOURCE_TYPE_NAME ¶
func CfnAssociation_CFN_RESOURCE_TYPE_NAME() *string
func CfnAssociation_IsCfnAssociation ¶
func CfnAssociation_IsCfnAssociation(x interface{}) *bool
Checks whether the given object is a CfnAssociation.
func CfnAssociation_IsCfnElement ¶
func CfnAssociation_IsCfnElement(x interface{}) *bool
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.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnAssociation_IsCfnResource ¶
func CfnAssociation_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnAssociation_IsConstruct ¶
func CfnAssociation_IsConstruct(x interface{}) *bool
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.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnPrivateConnection_ArnForPrivateConnection ¶ added in v2.251.0
func CfnPrivateConnection_ArnForPrivateConnection(resource interfacesawsdevopsagent.IPrivateConnectionRef) *string
func CfnPrivateConnection_CFN_RESOURCE_TYPE_NAME ¶ added in v2.251.0
func CfnPrivateConnection_CFN_RESOURCE_TYPE_NAME() *string
func CfnPrivateConnection_IsCfnElement ¶ added in v2.251.0
func CfnPrivateConnection_IsCfnElement(x interface{}) *bool
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.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnPrivateConnection_IsCfnPrivateConnection ¶ added in v2.251.0
func CfnPrivateConnection_IsCfnPrivateConnection(x interface{}) *bool
Checks whether the given object is a CfnPrivateConnection.
func CfnPrivateConnection_IsCfnResource ¶ added in v2.251.0
func CfnPrivateConnection_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnPrivateConnection_IsConstruct ¶ added in v2.251.0
func CfnPrivateConnection_IsConstruct(x interface{}) *bool
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.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnService_ArnForService ¶ added in v2.244.0
func CfnService_ArnForService(resource interfacesawsdevopsagent.IServiceRef) *string
func CfnService_CFN_RESOURCE_TYPE_NAME ¶ added in v2.241.0
func CfnService_CFN_RESOURCE_TYPE_NAME() *string
func CfnService_FromServiceArn ¶ added in v2.249.0
func CfnService_FromServiceArn(scope constructs.Construct, id *string, arn *string) interfacesawsdevopsagent.IServiceRef
Creates a new IServiceRef from an ARN.
func CfnService_FromServiceId ¶ added in v2.244.0
func CfnService_FromServiceId(scope constructs.Construct, id *string, serviceId *string) interfacesawsdevopsagent.IServiceRef
Creates a new IServiceRef from a serviceId.
func CfnService_IsCfnElement ¶ added in v2.241.0
func CfnService_IsCfnElement(x interface{}) *bool
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.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnService_IsCfnResource ¶ added in v2.241.0
func CfnService_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnService_IsCfnService ¶ added in v2.241.0
func CfnService_IsCfnService(x interface{}) *bool
Checks whether the given object is a CfnService.
func CfnService_IsConstruct ¶ added in v2.241.0
func CfnService_IsConstruct(x interface{}) *bool
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.
Returns: true if `x` is an object created from a class which extends `Construct`.
func NewCfnAgentSpace_Override ¶
func NewCfnAgentSpace_Override(c CfnAgentSpace, scope constructs.Construct, id *string, props *CfnAgentSpaceProps)
Create a new `AWS::DevOpsAgent::AgentSpace`.
func NewCfnAssociation_Override ¶
func NewCfnAssociation_Override(c CfnAssociation, scope constructs.Construct, id *string, props *CfnAssociationProps)
Create a new `AWS::DevOpsAgent::Association`.
func NewCfnPrivateConnection_Override ¶ added in v2.251.0
func NewCfnPrivateConnection_Override(c CfnPrivateConnection, scope constructs.Construct, id *string, props *CfnPrivateConnectionProps)
Create a new `AWS::DevOpsAgent::PrivateConnection`.
func NewCfnService_Override ¶ added in v2.241.0
func NewCfnService_Override(c CfnService, scope constructs.Construct, id *string, props *CfnServiceProps)
Create a new `AWS::DevOpsAgent::Service`.
Types ¶
type CfnAgentSpace ¶
type CfnAgentSpace interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsdevopsagent.IAgentSpaceRef
awscdk.ITaggableV2
// A reference to a AgentSpace resource.
AgentSpaceRef() *interfacesawsdevopsagent.AgentSpaceReference
// The unique identifier of the Agent Space.
AttrAgentSpaceId() *string
// The Amazon Resource Name (ARN) of the Agent Space.
AttrArn() *string
// The timestamp when the resource was created.
AttrCreatedAt() *string
AttrOperatorAppIamCreatedAt() *string
AttrOperatorAppIamUpdatedAt() *string
AttrOperatorAppIdcCreatedAt() *string
AttrOperatorAppIdcIdcApplicationArn() *string
AttrOperatorAppIdcUpdatedAt() *string
// The timestamp when the resource was last updated.
AttrUpdatedAt() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnPropertyNames() *map[string]*string
// AWS resource type.
CfnResourceType() *string
// Returns: 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.
CreationStack() *[]*string
// The description of the Agent Space.
Description() *string
SetDescription(val *string)
Env() *interfaces.ResourceEnvironment
// The ARN of the KMS key to use for encryption.
KmsKeyArn() *string
SetKmsKeyArn(val *string)
// The locale for the AgentSpace, which determines the language used in agent responses.
Locale() *string
SetLocale(val *string)
// 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.
LogicalId() *string
// The name of the Agent Space.
Name() *string
SetName(val *string)
// The tree node.
Node() constructs.Node
OperatorApp() interface{}
SetOperatorApp(val interface{})
// 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 })`.
Ref() *string
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// An array of key-value pairs to apply to this resource.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// 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.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: 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.
//
AddMetadata(key *string, value interface{})
// 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,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "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.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the cross-stack reference strength for this resource.
//
// When set, any cross-stack reference to this resource will use the specified
// strength instead of the global default from the consuming stack's context.
ApplyCrossStackReferenceStrength(strength awscdk.ReferenceStrength)
// 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:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
CfnPropertyName(cdkPropertyName *string) *string
// 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.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: 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.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// 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.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
// Applies one or more mixins to this construct.
//
// Mixins are applied in order. The list of constructs is captured at the
// start of the call, so constructs added by a mixin will not be visited.
// Use multiple `with()` calls if subsequent mixins should apply to added
// constructs.
With(mixins ...constructs.IMixin) constructs.IConstruct
}
The `AWS::DevOpsAgent::AgentSpace` resource specifies an Agent Space for the AWS DevOps Agent Service.
Example:
// 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"
cfnAgentSpace := awscdk.Aws_devopsagent.NewCfnAgentSpace(this, jsii.String("MyCfnAgentSpace"), &CfnAgentSpaceProps{
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
KmsKeyArn: jsii.String("kmsKeyArn"),
Locale: jsii.String("locale"),
OperatorApp: &OperatorAppProperty{
Iam: &IamAuthConfigurationProperty{
OperatorAppRoleArn: jsii.String("operatorAppRoleArn"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
UpdatedAt: jsii.String("updatedAt"),
},
Idc: &IdcAuthConfigurationProperty{
IdcInstanceArn: jsii.String("idcInstanceArn"),
OperatorAppRoleArn: jsii.String("operatorAppRoleArn"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
IdcApplicationArn: jsii.String("idcApplicationArn"),
UpdatedAt: jsii.String("updatedAt"),
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
func NewCfnAgentSpace ¶
func NewCfnAgentSpace(scope constructs.Construct, id *string, props *CfnAgentSpaceProps) CfnAgentSpace
Create a new `AWS::DevOpsAgent::AgentSpace`.
type CfnAgentSpaceProps ¶
type CfnAgentSpaceProps struct {
// The name of the Agent Space.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-agentspace.html#cfn-devopsagent-agentspace-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The description of the Agent Space.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-agentspace.html#cfn-devopsagent-agentspace-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The ARN of the KMS key to use for encryption.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-agentspace.html#cfn-devopsagent-agentspace-kmskeyarn
//
KmsKeyArn *string `field:"optional" json:"kmsKeyArn" yaml:"kmsKeyArn"`
// The locale for the AgentSpace, which determines the language used in agent responses.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-agentspace.html#cfn-devopsagent-agentspace-locale
//
Locale *string `field:"optional" json:"locale" yaml:"locale"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-agentspace.html#cfn-devopsagent-agentspace-operatorapp
//
OperatorApp interface{} `field:"optional" json:"operatorApp" yaml:"operatorApp"`
// An array of key-value pairs to apply to this resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-agentspace.html#cfn-devopsagent-agentspace-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnAgentSpace`.
Example:
// 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"
cfnAgentSpaceProps := &CfnAgentSpaceProps{
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
KmsKeyArn: jsii.String("kmsKeyArn"),
Locale: jsii.String("locale"),
OperatorApp: &OperatorAppProperty{
Iam: &IamAuthConfigurationProperty{
OperatorAppRoleArn: jsii.String("operatorAppRoleArn"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
UpdatedAt: jsii.String("updatedAt"),
},
Idc: &IdcAuthConfigurationProperty{
IdcInstanceArn: jsii.String("idcInstanceArn"),
OperatorAppRoleArn: jsii.String("operatorAppRoleArn"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
IdcApplicationArn: jsii.String("idcApplicationArn"),
UpdatedAt: jsii.String("updatedAt"),
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnAgentSpace_IamAuthConfigurationProperty ¶ added in v2.241.0
type CfnAgentSpace_IamAuthConfigurationProperty struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-agentspace-iamauthconfiguration.html#cfn-devopsagent-agentspace-iamauthconfiguration-operatorapprolearn
//
OperatorAppRoleArn *string `field:"required" json:"operatorAppRoleArn" yaml:"operatorAppRoleArn"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-agentspace-iamauthconfiguration.html#cfn-devopsagent-agentspace-iamauthconfiguration-createdat
//
CreatedAt *string `field:"optional" json:"createdAt" yaml:"createdAt"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-agentspace-iamauthconfiguration.html#cfn-devopsagent-agentspace-iamauthconfiguration-updatedat
//
UpdatedAt *string `field:"optional" json:"updatedAt" yaml:"updatedAt"`
}
Example:
// 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"
iamAuthConfigurationProperty := &IamAuthConfigurationProperty{
OperatorAppRoleArn: jsii.String("operatorAppRoleArn"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
UpdatedAt: jsii.String("updatedAt"),
}
type CfnAgentSpace_IdcAuthConfigurationProperty ¶ added in v2.241.0
type CfnAgentSpace_IdcAuthConfigurationProperty struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-agentspace-idcauthconfiguration.html#cfn-devopsagent-agentspace-idcauthconfiguration-idcinstancearn
//
IdcInstanceArn *string `field:"required" json:"idcInstanceArn" yaml:"idcInstanceArn"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-agentspace-idcauthconfiguration.html#cfn-devopsagent-agentspace-idcauthconfiguration-operatorapprolearn
//
OperatorAppRoleArn *string `field:"required" json:"operatorAppRoleArn" yaml:"operatorAppRoleArn"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-agentspace-idcauthconfiguration.html#cfn-devopsagent-agentspace-idcauthconfiguration-createdat
//
CreatedAt *string `field:"optional" json:"createdAt" yaml:"createdAt"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-agentspace-idcauthconfiguration.html#cfn-devopsagent-agentspace-idcauthconfiguration-idcapplicationarn
//
IdcApplicationArn *string `field:"optional" json:"idcApplicationArn" yaml:"idcApplicationArn"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-agentspace-idcauthconfiguration.html#cfn-devopsagent-agentspace-idcauthconfiguration-updatedat
//
UpdatedAt *string `field:"optional" json:"updatedAt" yaml:"updatedAt"`
}
Example:
// 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"
idcAuthConfigurationProperty := &IdcAuthConfigurationProperty{
IdcInstanceArn: jsii.String("idcInstanceArn"),
OperatorAppRoleArn: jsii.String("operatorAppRoleArn"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
IdcApplicationArn: jsii.String("idcApplicationArn"),
UpdatedAt: jsii.String("updatedAt"),
}
type CfnAgentSpace_OperatorAppProperty ¶ added in v2.241.0
type CfnAgentSpace_OperatorAppProperty struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-agentspace-operatorapp.html#cfn-devopsagent-agentspace-operatorapp-iam
//
Iam interface{} `field:"optional" json:"iam" yaml:"iam"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-agentspace-operatorapp.html#cfn-devopsagent-agentspace-operatorapp-idc
//
Idc interface{} `field:"optional" json:"idc" yaml:"idc"`
}
Example:
// 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"
operatorAppProperty := &OperatorAppProperty{
Iam: &IamAuthConfigurationProperty{
OperatorAppRoleArn: jsii.String("operatorAppRoleArn"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
UpdatedAt: jsii.String("updatedAt"),
},
Idc: &IdcAuthConfigurationProperty{
IdcInstanceArn: jsii.String("idcInstanceArn"),
OperatorAppRoleArn: jsii.String("operatorAppRoleArn"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
IdcApplicationArn: jsii.String("idcApplicationArn"),
UpdatedAt: jsii.String("updatedAt"),
},
}
type CfnAssociation ¶
type CfnAssociation interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsdevopsagent.IAssociationRef
// The unique identifier of the Agent Space.
AgentSpaceId() *string
SetAgentSpaceId(val *string)
// A reference to a Association resource.
AssociationRef() *interfacesawsdevopsagent.AssociationReference
// The unique identifier of the association.
AttrAssociationId() *string
// The timestamp when the association was created.
AttrCreatedAt() *string
// The timestamp when the association was last updated.
AttrUpdatedAt() *string
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnPropertyNames() *map[string]*string
// AWS resource type.
CfnResourceType() *string
// The configuration that directs how the Agent Space interacts with the given service.
Configuration() interface{}
SetConfiguration(val interface{})
// Returns: 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.
CreationStack() *[]*string
Env() *interfaces.ResourceEnvironment
// Set of linked association IDs for parent-child relationships.
LinkedAssociationIds() *[]*string
SetLinkedAssociationIds(val *[]*string)
// 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.
LogicalId() *string
// The tree node.
Node() constructs.Node
// 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 })`.
Ref() *string
// The identifier for the associated service.
ServiceId() *string
SetServiceId(val *string)
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// 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.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: 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.
//
AddMetadata(key *string, value interface{})
// 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,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "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.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the cross-stack reference strength for this resource.
//
// When set, any cross-stack reference to this resource will use the specified
// strength instead of the global default from the consuming stack's context.
ApplyCrossStackReferenceStrength(strength awscdk.ReferenceStrength)
// 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:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
CfnPropertyName(cdkPropertyName *string) *string
// 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.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: 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.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// 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.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
// Applies one or more mixins to this construct.
//
// Mixins are applied in order. The list of constructs is captured at the
// start of the call, so constructs added by a mixin will not be visited.
// Use multiple `with()` calls if subsequent mixins should apply to added
// constructs.
With(mixins ...constructs.IMixin) constructs.IConstruct
}
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.
Example:
// 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 resourceMetadata interface{}
cfnAssociation := awscdk.Aws_devopsagent.NewCfnAssociation(this, jsii.String("MyCfnAssociation"), &CfnAssociationProps{
AgentSpaceId: jsii.String("agentSpaceId"),
Configuration: &ServiceConfigurationProperty{
Aws: &AWSConfigurationProperty{
AccountId: jsii.String("accountId"),
AccountType: jsii.String("accountType"),
AssumableRoleArn: jsii.String("assumableRoleArn"),
// the properties below are optional
Resources: []interface{}{
&AWSResourceProperty{
ResourceArn: jsii.String("resourceArn"),
// the properties below are optional
ResourceMetadata: resourceMetadata,
ResourceType: jsii.String("resourceType"),
},
},
Tags: []KeyValuePairProperty{
&KeyValuePairProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
},
Azure: &AzureConfigurationProperty{
SubscriptionId: jsii.String("subscriptionId"),
},
Dynatrace: &DynatraceConfigurationProperty{
EnvId: jsii.String("envId"),
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
Resources: []*string{
jsii.String("resources"),
},
},
EventChannel: &EventChannelConfigurationProperty{
EnableWebhookUpdates: jsii.Boolean(false),
},
GitHub: &GitHubConfigurationProperty{
Owner: jsii.String("owner"),
OwnerType: jsii.String("ownerType"),
RepoId: jsii.String("repoId"),
RepoName: jsii.String("repoName"),
},
GitLab: &GitLabConfigurationProperty{
ProjectId: jsii.String("projectId"),
ProjectPath: jsii.String("projectPath"),
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
InstanceIdentifier: jsii.String("instanceIdentifier"),
},
McpServer: &MCPServerConfigurationProperty{
Tools: []*string{
jsii.String("tools"),
},
// the properties below are optional
Description: jsii.String("description"),
EnableWebhookUpdates: jsii.Boolean(false),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
},
McpServerDatadog: &MCPServerDatadogConfigurationProperty{
Description: jsii.String("description"),
EnableWebhookUpdates: jsii.Boolean(false),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
},
McpServerGrafana: &MCPServerGrafanaConfigurationProperty{
Endpoint: jsii.String("endpoint"),
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
Tools: []*string{
jsii.String("tools"),
},
},
McpServerNewRelic: &MCPServerNewRelicConfigurationProperty{
AccountId: jsii.String("accountId"),
Endpoint: jsii.String("endpoint"),
},
McpServerSigV4: &MCPServerSigV4ConfigurationProperty{
Tools: []*string{
jsii.String("tools"),
},
},
McpServerSplunk: &MCPServerSplunkConfigurationProperty{
Description: jsii.String("description"),
EnableWebhookUpdates: jsii.Boolean(false),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
},
PagerDuty: &PagerDutyConfigurationProperty{
CustomerEmail: jsii.String("customerEmail"),
Services: []*string{
jsii.String("services"),
},
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
},
ServiceNow: &ServiceNowConfigurationProperty{
EnableWebhookUpdates: jsii.Boolean(false),
InstanceId: jsii.String("instanceId"),
},
Slack: &SlackConfigurationProperty{
TransmissionTarget: &SlackTransmissionTargetProperty{
IncidentResponseTarget: &SlackChannelProperty{
ChannelId: jsii.String("channelId"),
// the properties below are optional
ChannelName: jsii.String("channelName"),
},
},
WorkspaceId: jsii.String("workspaceId"),
WorkspaceName: jsii.String("workspaceName"),
},
SourceAws: &SourceAwsConfigurationProperty{
AccountId: jsii.String("accountId"),
AccountType: jsii.String("accountType"),
AssumableRoleArn: jsii.String("assumableRoleArn"),
// the properties below are optional
Resources: []interface{}{
&AWSResourceProperty{
ResourceArn: jsii.String("resourceArn"),
// the properties below are optional
ResourceMetadata: resourceMetadata,
ResourceType: jsii.String("resourceType"),
},
},
Tags: []KeyValuePairProperty{
&KeyValuePairProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
},
},
ServiceId: jsii.String("serviceId"),
// the properties below are optional
LinkedAssociationIds: []*string{
jsii.String("linkedAssociationIds"),
},
})
func NewCfnAssociation ¶
func NewCfnAssociation(scope constructs.Construct, id *string, props *CfnAssociationProps) CfnAssociation
Create a new `AWS::DevOpsAgent::Association`.
type CfnAssociationProps ¶
type CfnAssociationProps struct {
// The unique identifier of the Agent Space.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-association.html#cfn-devopsagent-association-agentspaceid
//
AgentSpaceId *string `field:"required" json:"agentSpaceId" yaml:"agentSpaceId"`
// The configuration that directs how the Agent Space interacts with the given service.
//
// You can specify only one configuration type per association.
//
// *Allowed Values* : `SourceAws` | `Aws` | `GitHub` | `GitLab` | `Slack` | `Dynatrace` | `ServiceNow` | `MCPServer` | `MCPServerNewRelic` | `MCPServerDatadog` | `MCPServerSplunk` | `EventChannel`.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-association.html#cfn-devopsagent-association-configuration
//
Configuration interface{} `field:"required" json:"configuration" yaml:"configuration"`
// 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
//
ServiceId *string `field:"required" json:"serviceId" yaml:"serviceId"`
// Set of linked association IDs for parent-child relationships.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-association.html#cfn-devopsagent-association-linkedassociationids
//
LinkedAssociationIds *[]*string `field:"optional" json:"linkedAssociationIds" yaml:"linkedAssociationIds"`
}
Properties for defining a `CfnAssociation`.
Example:
// 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 resourceMetadata interface{}
cfnAssociationProps := &CfnAssociationProps{
AgentSpaceId: jsii.String("agentSpaceId"),
Configuration: &ServiceConfigurationProperty{
Aws: &AWSConfigurationProperty{
AccountId: jsii.String("accountId"),
AccountType: jsii.String("accountType"),
AssumableRoleArn: jsii.String("assumableRoleArn"),
// the properties below are optional
Resources: []interface{}{
&AWSResourceProperty{
ResourceArn: jsii.String("resourceArn"),
// the properties below are optional
ResourceMetadata: resourceMetadata,
ResourceType: jsii.String("resourceType"),
},
},
Tags: []KeyValuePairProperty{
&KeyValuePairProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
},
Azure: &AzureConfigurationProperty{
SubscriptionId: jsii.String("subscriptionId"),
},
Dynatrace: &DynatraceConfigurationProperty{
EnvId: jsii.String("envId"),
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
Resources: []*string{
jsii.String("resources"),
},
},
EventChannel: &EventChannelConfigurationProperty{
EnableWebhookUpdates: jsii.Boolean(false),
},
GitHub: &GitHubConfigurationProperty{
Owner: jsii.String("owner"),
OwnerType: jsii.String("ownerType"),
RepoId: jsii.String("repoId"),
RepoName: jsii.String("repoName"),
},
GitLab: &GitLabConfigurationProperty{
ProjectId: jsii.String("projectId"),
ProjectPath: jsii.String("projectPath"),
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
InstanceIdentifier: jsii.String("instanceIdentifier"),
},
McpServer: &MCPServerConfigurationProperty{
Tools: []*string{
jsii.String("tools"),
},
// the properties below are optional
Description: jsii.String("description"),
EnableWebhookUpdates: jsii.Boolean(false),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
},
McpServerDatadog: &MCPServerDatadogConfigurationProperty{
Description: jsii.String("description"),
EnableWebhookUpdates: jsii.Boolean(false),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
},
McpServerGrafana: &MCPServerGrafanaConfigurationProperty{
Endpoint: jsii.String("endpoint"),
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
Tools: []*string{
jsii.String("tools"),
},
},
McpServerNewRelic: &MCPServerNewRelicConfigurationProperty{
AccountId: jsii.String("accountId"),
Endpoint: jsii.String("endpoint"),
},
McpServerSigV4: &MCPServerSigV4ConfigurationProperty{
Tools: []*string{
jsii.String("tools"),
},
},
McpServerSplunk: &MCPServerSplunkConfigurationProperty{
Description: jsii.String("description"),
EnableWebhookUpdates: jsii.Boolean(false),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
},
PagerDuty: &PagerDutyConfigurationProperty{
CustomerEmail: jsii.String("customerEmail"),
Services: []*string{
jsii.String("services"),
},
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
},
ServiceNow: &ServiceNowConfigurationProperty{
EnableWebhookUpdates: jsii.Boolean(false),
InstanceId: jsii.String("instanceId"),
},
Slack: &SlackConfigurationProperty{
TransmissionTarget: &SlackTransmissionTargetProperty{
IncidentResponseTarget: &SlackChannelProperty{
ChannelId: jsii.String("channelId"),
// the properties below are optional
ChannelName: jsii.String("channelName"),
},
},
WorkspaceId: jsii.String("workspaceId"),
WorkspaceName: jsii.String("workspaceName"),
},
SourceAws: &SourceAwsConfigurationProperty{
AccountId: jsii.String("accountId"),
AccountType: jsii.String("accountType"),
AssumableRoleArn: jsii.String("assumableRoleArn"),
// the properties below are optional
Resources: []interface{}{
&AWSResourceProperty{
ResourceArn: jsii.String("resourceArn"),
// the properties below are optional
ResourceMetadata: resourceMetadata,
ResourceType: jsii.String("resourceType"),
},
},
Tags: []KeyValuePairProperty{
&KeyValuePairProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
},
},
ServiceId: jsii.String("serviceId"),
// the properties below are optional
LinkedAssociationIds: []*string{
jsii.String("linkedAssociationIds"),
},
}
type CfnAssociation_AWSConfigurationProperty ¶
type CfnAssociation_AWSConfigurationProperty struct {
// Account ID corresponding to the provided resources.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsconfiguration.html#cfn-devopsagent-association-awsconfiguration-accountid
//
AccountId *string `field:"required" json:"accountId" yaml:"accountId"`
// Account Type 'monitor' for AWS DevOps Agent monitoring.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsconfiguration.html#cfn-devopsagent-association-awsconfiguration-accounttype
//
AccountType *string `field:"required" json:"accountType" yaml:"accountType"`
// Role ARN used by AWS DevOps Agent to access resources in the primary account.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsconfiguration.html#cfn-devopsagent-association-awsconfiguration-assumablerolearn
//
AssumableRoleArn *string `field:"required" json:"assumableRoleArn" yaml:"assumableRoleArn"`
// List of resources to monitor.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsconfiguration.html#cfn-devopsagent-association-awsconfiguration-resources
//
Resources interface{} `field:"optional" json:"resources" yaml:"resources"`
// List of tags as key-value pairs, used to identify resources for topology crawl.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsconfiguration.html#cfn-devopsagent-association-awsconfiguration-tags
//
Tags *[]*CfnAssociation_KeyValuePairProperty `field:"optional" json:"tags" yaml:"tags"`
}
Configuration for AWS monitor account integration.
Specifies the account ID, assumable role ARN, and resources to be monitored in the primary monitoring account.
Example:
// 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 resourceMetadata interface{}
aWSConfigurationProperty := &AWSConfigurationProperty{
AccountId: jsii.String("accountId"),
AccountType: jsii.String("accountType"),
AssumableRoleArn: jsii.String("assumableRoleArn"),
// the properties below are optional
Resources: []interface{}{
&AWSResourceProperty{
ResourceArn: jsii.String("resourceArn"),
// the properties below are optional
ResourceMetadata: resourceMetadata,
ResourceType: jsii.String("resourceType"),
},
},
Tags: []KeyValuePairProperty{
&KeyValuePairProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnAssociation_AWSResourceProperty ¶
type CfnAssociation_AWSResourceProperty struct {
// 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
//
ResourceArn *string `field:"required" json:"resourceArn" yaml:"resourceArn"`
// Additional metadata specific to the resource.
//
// This is an optional JSON object that can include resource-specific information to provide additional context for monitoring and management.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsresource.html#cfn-devopsagent-association-awsresource-resourcemetadata
//
ResourceMetadata interface{} `field:"optional" json:"resourceMetadata" yaml:"resourceMetadata"`
// Resource type.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsresource.html#cfn-devopsagent-association-awsresource-resourcetype
//
ResourceType *string `field:"optional" json:"resourceType" yaml:"resourceType"`
}
Defines an AWS resource to be monitored, including its type, ARN, and optional metadata.
Example:
// 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 resourceMetadata interface{}
aWSResourceProperty := &AWSResourceProperty{
ResourceArn: jsii.String("resourceArn"),
// the properties below are optional
ResourceMetadata: resourceMetadata,
ResourceType: jsii.String("resourceType"),
}
type CfnAssociation_AzureConfigurationProperty ¶ added in v2.251.0
type CfnAssociation_AzureConfigurationProperty struct {
// Azure subscription ID corresponding to provided resources.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-azureconfiguration.html#cfn-devopsagent-association-azureconfiguration-subscriptionid
//
SubscriptionId *string `field:"required" json:"subscriptionId" yaml:"subscriptionId"`
}
Azure subscription integration configuration.
Example:
// 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"
azureConfigurationProperty := &AzureConfigurationProperty{
SubscriptionId: jsii.String("subscriptionId"),
}
type CfnAssociation_DynatraceConfigurationProperty ¶
type CfnAssociation_DynatraceConfigurationProperty struct {
// Dynatrace environment id.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-dynatraceconfiguration.html#cfn-devopsagent-association-dynatraceconfiguration-envid
//
EnvId *string `field:"required" json:"envId" yaml:"envId"`
// 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
//
EnableWebhookUpdates interface{} `field:"optional" json:"enableWebhookUpdates" yaml:"enableWebhookUpdates"`
// 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
//
Resources *[]*string `field:"optional" json:"resources" yaml:"resources"`
}
Configuration for Dynatrace monitoring integration.
Defines the Dynatrace environment ID, list of resources to monitor, and webhook update settings required for the Agent Space to access metrics, traces, and logs from Dynatrace.
Example:
// 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"
dynatraceConfigurationProperty := &DynatraceConfigurationProperty{
EnvId: jsii.String("envId"),
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
Resources: []*string{
jsii.String("resources"),
},
}
type CfnAssociation_EventChannelConfigurationProperty ¶
type CfnAssociation_EventChannelConfigurationProperty struct {
// 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
//
EnableWebhookUpdates interface{} `field:"optional" json:"enableWebhookUpdates" yaml:"enableWebhookUpdates"`
}
Configuration for Event Channel integration.
Defines webhook update settings to enable the Agent Space to receive real-time event notifications from event channel integrations.
Example:
// 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"
eventChannelConfigurationProperty := &EventChannelConfigurationProperty{
EnableWebhookUpdates: jsii.Boolean(false),
}
type CfnAssociation_GitHubConfigurationProperty ¶
type CfnAssociation_GitHubConfigurationProperty struct {
// Repository owner.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-githubconfiguration.html#cfn-devopsagent-association-githubconfiguration-owner
//
Owner *string `field:"required" json:"owner" yaml:"owner"`
// Type of repository owner.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-githubconfiguration.html#cfn-devopsagent-association-githubconfiguration-ownertype
//
OwnerType *string `field:"required" json:"ownerType" yaml:"ownerType"`
// Associated Github repo ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-githubconfiguration.html#cfn-devopsagent-association-githubconfiguration-repoid
//
RepoId *string `field:"required" json:"repoId" yaml:"repoId"`
// Associated Github repo name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-githubconfiguration.html#cfn-devopsagent-association-githubconfiguration-reponame
//
RepoName *string `field:"required" json:"repoName" yaml:"repoName"`
}
Configuration for GitHub repository integration.
Defines the repository name, numeric repository ID, owner name, and owner type (user or organization) required for the Agent Space to access and interact with the GitHub repository.
Example:
// 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"
gitHubConfigurationProperty := &GitHubConfigurationProperty{
Owner: jsii.String("owner"),
OwnerType: jsii.String("ownerType"),
RepoId: jsii.String("repoId"),
RepoName: jsii.String("repoName"),
}
type CfnAssociation_GitLabConfigurationProperty ¶
type CfnAssociation_GitLabConfigurationProperty struct {
// GitLab numeric project ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-gitlabconfiguration.html#cfn-devopsagent-association-gitlabconfiguration-projectid
//
ProjectId *string `field:"required" json:"projectId" yaml:"projectId"`
// 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
//
ProjectPath *string `field:"required" json:"projectPath" yaml:"projectPath"`
// 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
//
EnableWebhookUpdates interface{} `field:"optional" json:"enableWebhookUpdates" yaml:"enableWebhookUpdates"`
// GitLab instance identifier (e.g., gitlab.com).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-gitlabconfiguration.html#cfn-devopsagent-association-gitlabconfiguration-instanceidentifier
//
InstanceIdentifier *string `field:"optional" json:"instanceIdentifier" yaml:"instanceIdentifier"`
}
Configuration for GitLab project integration.
Defines the numeric project ID, full project path (namespace/project-name), GitLab instance identifier, and webhook update settings required for the Agent Space to access and interact with the GitLab project.
Example:
// 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"
gitLabConfigurationProperty := &GitLabConfigurationProperty{
ProjectId: jsii.String("projectId"),
ProjectPath: jsii.String("projectPath"),
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
InstanceIdentifier: jsii.String("instanceIdentifier"),
}
type CfnAssociation_KeyValuePairProperty ¶
type CfnAssociation_KeyValuePairProperty struct {
// The key name of the tag.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-keyvaluepair.html#cfn-devopsagent-association-keyvaluepair-key
//
Key *string `field:"required" json:"key" yaml:"key"`
// The value for the tag.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-keyvaluepair.html#cfn-devopsagent-association-keyvaluepair-value
//
Value *string `field:"required" json:"value" yaml:"value"`
}
A key-value pair for tags.
Example:
// 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"
keyValuePairProperty := &KeyValuePairProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
}
type CfnAssociation_MCPServerConfigurationProperty ¶
type CfnAssociation_MCPServerConfigurationProperty struct {
// 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
//
Tools *[]*string `field:"required" json:"tools" yaml:"tools"`
// 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
//
Description *string `field:"optional" json:"description" yaml:"description"`
// 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
//
EnableWebhookUpdates interface{} `field:"optional" json:"enableWebhookUpdates" yaml:"enableWebhookUpdates"`
// MCP server endpoint URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverconfiguration.html#cfn-devopsagent-association-mcpserverconfiguration-endpoint
//
Endpoint *string `field:"optional" json:"endpoint" yaml:"endpoint"`
// 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
//
Name *string `field:"optional" json:"name" yaml:"name"`
}
Configuration for MCP (Model Context Protocol) server integration.
Defines the server name, endpoint URL, available tools, optional description, and webhook update settings for custom MCP servers.
Example:
// 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"
mCPServerConfigurationProperty := &MCPServerConfigurationProperty{
Tools: []*string{
jsii.String("tools"),
},
// the properties below are optional
Description: jsii.String("description"),
EnableWebhookUpdates: jsii.Boolean(false),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
}
type CfnAssociation_MCPServerDatadogConfigurationProperty ¶
type CfnAssociation_MCPServerDatadogConfigurationProperty struct {
// 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
//
Description *string `field:"optional" json:"description" yaml:"description"`
// 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
//
EnableWebhookUpdates interface{} `field:"optional" json:"enableWebhookUpdates" yaml:"enableWebhookUpdates"`
// MCP server endpoint URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverdatadogconfiguration.html#cfn-devopsagent-association-mcpserverdatadogconfiguration-endpoint
//
Endpoint *string `field:"optional" json:"endpoint" yaml:"endpoint"`
// 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
//
Name *string `field:"optional" json:"name" yaml:"name"`
}
Configuration for Datadog MCP server integration.
Defines the server name, endpoint URL, optional description, and webhook update settings.
Example:
// 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"
mCPServerDatadogConfigurationProperty := &MCPServerDatadogConfigurationProperty{
Description: jsii.String("description"),
EnableWebhookUpdates: jsii.Boolean(false),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
}
type CfnAssociation_MCPServerGrafanaConfigurationProperty ¶ added in v2.257.0
type CfnAssociation_MCPServerGrafanaConfigurationProperty struct {
// MCP server endpoint URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpservergrafanaconfiguration.html#cfn-devopsagent-association-mcpservergrafanaconfiguration-endpoint
//
Endpoint *string `field:"required" json:"endpoint" yaml:"endpoint"`
// 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-mcpservergrafanaconfiguration.html#cfn-devopsagent-association-mcpservergrafanaconfiguration-enablewebhookupdates
//
EnableWebhookUpdates interface{} `field:"optional" json:"enableWebhookUpdates" yaml:"enableWebhookUpdates"`
// List of tool categories to enable for the Grafana MCP server.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpservergrafanaconfiguration.html#cfn-devopsagent-association-mcpservergrafanaconfiguration-tools
//
Tools *[]*string `field:"optional" json:"tools" yaml:"tools"`
}
Grafana MCP server configuration.
Example:
// 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"
mCPServerGrafanaConfigurationProperty := &MCPServerGrafanaConfigurationProperty{
Endpoint: jsii.String("endpoint"),
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
Tools: []*string{
jsii.String("tools"),
},
}
type CfnAssociation_MCPServerNewRelicConfigurationProperty ¶
type CfnAssociation_MCPServerNewRelicConfigurationProperty struct {
// New Relic Account ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpservernewrelicconfiguration.html#cfn-devopsagent-association-mcpservernewrelicconfiguration-accountid
//
AccountId *string `field:"required" json:"accountId" yaml:"accountId"`
// MCP server endpoint URL (e.g., https://mcp.newrelic.com/mcp/).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpservernewrelicconfiguration.html#cfn-devopsagent-association-mcpservernewrelicconfiguration-endpoint
//
Endpoint *string `field:"required" json:"endpoint" yaml:"endpoint"`
}
Configuration for New Relic MCP server integration.
Defines the New Relic account ID and MCP server endpoint URL required for the Agent Space to authenticate and query observability data from New Relic.
Example:
// 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"
mCPServerNewRelicConfigurationProperty := &MCPServerNewRelicConfigurationProperty{
AccountId: jsii.String("accountId"),
Endpoint: jsii.String("endpoint"),
}
type CfnAssociation_MCPServerSigV4ConfigurationProperty ¶ added in v2.251.0
type CfnAssociation_MCPServerSigV4ConfigurationProperty struct {
// List of MCP tools available for the association.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserversigv4configuration.html#cfn-devopsagent-association-mcpserversigv4configuration-tools
//
Tools *[]*string `field:"required" json:"tools" yaml:"tools"`
}
SigV4-authenticated MCP server configuration.
Example:
// 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"
mCPServerSigV4ConfigurationProperty := &MCPServerSigV4ConfigurationProperty{
Tools: []*string{
jsii.String("tools"),
},
}
type CfnAssociation_MCPServerSplunkConfigurationProperty ¶
type CfnAssociation_MCPServerSplunkConfigurationProperty struct {
// 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
//
Description *string `field:"optional" json:"description" yaml:"description"`
// 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
//
EnableWebhookUpdates interface{} `field:"optional" json:"enableWebhookUpdates" yaml:"enableWebhookUpdates"`
// MCP server endpoint URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserversplunkconfiguration.html#cfn-devopsagent-association-mcpserversplunkconfiguration-endpoint
//
Endpoint *string `field:"optional" json:"endpoint" yaml:"endpoint"`
// 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
//
Name *string `field:"optional" json:"name" yaml:"name"`
}
Configuration for Splunk MCP server integration.
Defines the server name, endpoint URL, optional description, and webhook update settings.
Example:
// 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"
mCPServerSplunkConfigurationProperty := &MCPServerSplunkConfigurationProperty{
Description: jsii.String("description"),
EnableWebhookUpdates: jsii.Boolean(false),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
}
type CfnAssociation_PagerDutyConfigurationProperty ¶ added in v2.251.0
type CfnAssociation_PagerDutyConfigurationProperty struct {
// Email to be used in PagerDuty API header.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-pagerdutyconfiguration.html#cfn-devopsagent-association-pagerdutyconfiguration-customeremail
//
CustomerEmail *string `field:"required" json:"customerEmail" yaml:"customerEmail"`
// List of PagerDuty service IDs available for the association.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-pagerdutyconfiguration.html#cfn-devopsagent-association-pagerdutyconfiguration-services
//
Services *[]*string `field:"required" json:"services" yaml:"services"`
// 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-pagerdutyconfiguration.html#cfn-devopsagent-association-pagerdutyconfiguration-enablewebhookupdates
//
EnableWebhookUpdates interface{} `field:"optional" json:"enableWebhookUpdates" yaml:"enableWebhookUpdates"`
}
PagerDuty integration configuration.
Example:
// 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"
pagerDutyConfigurationProperty := &PagerDutyConfigurationProperty{
CustomerEmail: jsii.String("customerEmail"),
Services: []*string{
jsii.String("services"),
},
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
}
type CfnAssociation_ServiceConfigurationProperty ¶
type CfnAssociation_ServiceConfigurationProperty struct {
// Configuration for AWS monitor account integration.
//
// Specifies the account ID, assumable role ARN, and resources to be monitored in the primary monitoring account.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-aws
//
Aws interface{} `field:"optional" json:"aws" yaml:"aws"`
// Azure subscription integration configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-azure
//
Azure interface{} `field:"optional" json:"azure" yaml:"azure"`
// Configuration for Dynatrace monitoring integration.
//
// Specifies the environment ID, resources to monitor, and webhook settings to enable the Agent Space to access Dynatrace metrics, traces, and logs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-dynatrace
//
Dynatrace interface{} `field:"optional" json:"dynatrace" yaml:"dynatrace"`
// Configuration for Event Channel integration.
//
// Specifies webhook settings to enable the Agent Space to receive and process real-time events from external systems.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-eventchannel
//
EventChannel interface{} `field:"optional" json:"eventChannel" yaml:"eventChannel"`
// Configuration for GitHub repository integration.
//
// Specifies the repository name, repository ID, owner, and owner type to enable the Agent Space to access code, pull requests, and issues.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-github
//
GitHub interface{} `field:"optional" json:"gitHub" yaml:"gitHub"`
// Configuration for GitLab project integration.
//
// Specifies the project ID, project path, instance identifier, and webhook settings to enable the Agent Space to access code, merge requests, and issues.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-gitlab
//
GitLab interface{} `field:"optional" json:"gitLab" yaml:"gitLab"`
// Configuration for custom MCP (Model Context Protocol) server integration.
//
// Specifies the server name, endpoint URL, available tools, description, and webhook settings to enable the Agent Space to interact with custom MCP servers.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-mcpserver
//
McpServer interface{} `field:"optional" json:"mcpServer" yaml:"mcpServer"`
// Configuration for Datadog MCP server integration.
//
// Specifies the server name, endpoint URL, optional description, and webhook settings to enable the Agent Space to query metrics, traces, and logs from Datadog.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-mcpserverdatadog
//
McpServerDatadog interface{} `field:"optional" json:"mcpServerDatadog" yaml:"mcpServerDatadog"`
// Grafana MCP server configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-mcpservergrafana
//
McpServerGrafana interface{} `field:"optional" json:"mcpServerGrafana" yaml:"mcpServerGrafana"`
// Configuration for New Relic MCP server integration.
//
// Specifies the New Relic account ID and MCP endpoint URL to enable the Agent Space to query metrics, traces, and logs from New Relic.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-mcpservernewrelic
//
McpServerNewRelic interface{} `field:"optional" json:"mcpServerNewRelic" yaml:"mcpServerNewRelic"`
// SigV4-authenticated MCP server configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-mcpserversigv4
//
McpServerSigV4 interface{} `field:"optional" json:"mcpServerSigV4" yaml:"mcpServerSigV4"`
// Configuration for Splunk MCP server integration.
//
// Specifies the server name, endpoint URL, optional description, and webhook settings to enable the Agent Space to query logs, metrics, and events from Splunk.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-mcpserversplunk
//
McpServerSplunk interface{} `field:"optional" json:"mcpServerSplunk" yaml:"mcpServerSplunk"`
// PagerDuty integration configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-pagerduty
//
PagerDuty interface{} `field:"optional" json:"pagerDuty" yaml:"pagerDuty"`
// Configuration for ServiceNow instance integration.
//
// Specifies the instance URL, instance ID, and webhook settings to enable the Agent Space to create, update, and manage ServiceNow incidents and change requests.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-servicenow
//
ServiceNow interface{} `field:"optional" json:"serviceNow" yaml:"serviceNow"`
// Configuration for Slack workspace integration.
//
// Specifies the workspace ID, workspace name, and transmission targets to enable the Agent Space to send notifications to designated Slack channels.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-slack
//
Slack interface{} `field:"optional" json:"slack" yaml:"slack"`
// Configuration for AWS source account integration.
//
// Specifies the account ID, assumable role ARN, and resources to be monitored in the source account.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html#cfn-devopsagent-association-serviceconfiguration-sourceaws
//
SourceAws interface{} `field:"optional" json:"sourceAws" yaml:"sourceAws"`
}
The configuration that directs how Agent Space interacts with the given service.
You can specify only one configuration type per association.
Example:
// 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 resourceMetadata interface{}
serviceConfigurationProperty := &ServiceConfigurationProperty{
Aws: &AWSConfigurationProperty{
AccountId: jsii.String("accountId"),
AccountType: jsii.String("accountType"),
AssumableRoleArn: jsii.String("assumableRoleArn"),
// the properties below are optional
Resources: []interface{}{
&AWSResourceProperty{
ResourceArn: jsii.String("resourceArn"),
// the properties below are optional
ResourceMetadata: resourceMetadata,
ResourceType: jsii.String("resourceType"),
},
},
Tags: []KeyValuePairProperty{
&KeyValuePairProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
},
Azure: &AzureConfigurationProperty{
SubscriptionId: jsii.String("subscriptionId"),
},
Dynatrace: &DynatraceConfigurationProperty{
EnvId: jsii.String("envId"),
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
Resources: []*string{
jsii.String("resources"),
},
},
EventChannel: &EventChannelConfigurationProperty{
EnableWebhookUpdates: jsii.Boolean(false),
},
GitHub: &GitHubConfigurationProperty{
Owner: jsii.String("owner"),
OwnerType: jsii.String("ownerType"),
RepoId: jsii.String("repoId"),
RepoName: jsii.String("repoName"),
},
GitLab: &GitLabConfigurationProperty{
ProjectId: jsii.String("projectId"),
ProjectPath: jsii.String("projectPath"),
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
InstanceIdentifier: jsii.String("instanceIdentifier"),
},
McpServer: &MCPServerConfigurationProperty{
Tools: []*string{
jsii.String("tools"),
},
// the properties below are optional
Description: jsii.String("description"),
EnableWebhookUpdates: jsii.Boolean(false),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
},
McpServerDatadog: &MCPServerDatadogConfigurationProperty{
Description: jsii.String("description"),
EnableWebhookUpdates: jsii.Boolean(false),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
},
McpServerGrafana: &MCPServerGrafanaConfigurationProperty{
Endpoint: jsii.String("endpoint"),
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
Tools: []*string{
jsii.String("tools"),
},
},
McpServerNewRelic: &MCPServerNewRelicConfigurationProperty{
AccountId: jsii.String("accountId"),
Endpoint: jsii.String("endpoint"),
},
McpServerSigV4: &MCPServerSigV4ConfigurationProperty{
Tools: []*string{
jsii.String("tools"),
},
},
McpServerSplunk: &MCPServerSplunkConfigurationProperty{
Description: jsii.String("description"),
EnableWebhookUpdates: jsii.Boolean(false),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
},
PagerDuty: &PagerDutyConfigurationProperty{
CustomerEmail: jsii.String("customerEmail"),
Services: []*string{
jsii.String("services"),
},
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
},
ServiceNow: &ServiceNowConfigurationProperty{
EnableWebhookUpdates: jsii.Boolean(false),
InstanceId: jsii.String("instanceId"),
},
Slack: &SlackConfigurationProperty{
TransmissionTarget: &SlackTransmissionTargetProperty{
IncidentResponseTarget: &SlackChannelProperty{
ChannelId: jsii.String("channelId"),
// the properties below are optional
ChannelName: jsii.String("channelName"),
},
},
WorkspaceId: jsii.String("workspaceId"),
WorkspaceName: jsii.String("workspaceName"),
},
SourceAws: &SourceAwsConfigurationProperty{
AccountId: jsii.String("accountId"),
AccountType: jsii.String("accountType"),
AssumableRoleArn: jsii.String("assumableRoleArn"),
// the properties below are optional
Resources: []interface{}{
&AWSResourceProperty{
ResourceArn: jsii.String("resourceArn"),
// the properties below are optional
ResourceMetadata: resourceMetadata,
ResourceType: jsii.String("resourceType"),
},
},
Tags: []KeyValuePairProperty{
&KeyValuePairProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
},
}
type CfnAssociation_ServiceNowConfigurationProperty ¶
type CfnAssociation_ServiceNowConfigurationProperty struct {
// 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
//
EnableWebhookUpdates interface{} `field:"optional" json:"enableWebhookUpdates" yaml:"enableWebhookUpdates"`
// ServiceNow instance ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-servicenowconfiguration.html#cfn-devopsagent-association-servicenowconfiguration-instanceid
//
InstanceId *string `field:"optional" json:"instanceId" yaml:"instanceId"`
}
Configuration for ServiceNow integration.
Defines the ServiceNow instance URL, instance ID, and webhook update settings required for the Agent Space to create, update, and manage incidents and change requests.
Example:
// 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"
serviceNowConfigurationProperty := &ServiceNowConfigurationProperty{
EnableWebhookUpdates: jsii.Boolean(false),
InstanceId: jsii.String("instanceId"),
}
type CfnAssociation_SlackChannelProperty ¶
type CfnAssociation_SlackChannelProperty struct {
// Slack channel ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slackchannel.html#cfn-devopsagent-association-slackchannel-channelid
//
ChannelId *string `field:"required" json:"channelId" yaml:"channelId"`
// Slack channel name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slackchannel.html#cfn-devopsagent-association-slackchannel-channelname
//
ChannelName *string `field:"optional" json:"channelName" yaml:"channelName"`
}
Represents a Slack channel with its unique identifier and optional display name.
Example:
// 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"
slackChannelProperty := &SlackChannelProperty{
ChannelId: jsii.String("channelId"),
// the properties below are optional
ChannelName: jsii.String("channelName"),
}
type CfnAssociation_SlackConfigurationProperty ¶
type CfnAssociation_SlackConfigurationProperty struct {
// 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
//
TransmissionTarget interface{} `field:"required" json:"transmissionTarget" yaml:"transmissionTarget"`
// Associated Slack workspace ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slackconfiguration.html#cfn-devopsagent-association-slackconfiguration-workspaceid
//
WorkspaceId *string `field:"required" json:"workspaceId" yaml:"workspaceId"`
// Associated Slack workspace name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slackconfiguration.html#cfn-devopsagent-association-slackconfiguration-workspacename
//
WorkspaceName *string `field:"required" json:"workspaceName" yaml:"workspaceName"`
}
Configuration for Slack workspace integration.
Defines the workspace ID, workspace name, and transmission targets that specify which Slack channels receive notifications.
Example:
// 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"
slackConfigurationProperty := &SlackConfigurationProperty{
TransmissionTarget: &SlackTransmissionTargetProperty{
IncidentResponseTarget: &SlackChannelProperty{
ChannelId: jsii.String("channelId"),
// the properties below are optional
ChannelName: jsii.String("channelName"),
},
},
WorkspaceId: jsii.String("workspaceId"),
WorkspaceName: jsii.String("workspaceName"),
}
type CfnAssociation_SlackTransmissionTargetProperty ¶
type CfnAssociation_SlackTransmissionTargetProperty struct {
// Destination for AWS DevOps Agent Incident Response.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slacktransmissiontarget.html#cfn-devopsagent-association-slacktransmissiontarget-incidentresponsetarget
//
IncidentResponseTarget interface{} `field:"required" json:"incidentResponseTarget" yaml:"incidentResponseTarget"`
}
Defines the Slack channels where different types of agent notifications will be sent.
Example:
// 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"
slackTransmissionTargetProperty := &SlackTransmissionTargetProperty{
IncidentResponseTarget: &SlackChannelProperty{
ChannelId: jsii.String("channelId"),
// the properties below are optional
ChannelName: jsii.String("channelName"),
},
}
type CfnAssociation_SourceAwsConfigurationProperty ¶
type CfnAssociation_SourceAwsConfigurationProperty struct {
// Account ID corresponding to the provided resources.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-sourceawsconfiguration.html#cfn-devopsagent-association-sourceawsconfiguration-accountid
//
AccountId *string `field:"required" json:"accountId" yaml:"accountId"`
// Account Type 'source' for AWS DevOps Agent monitoring.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-sourceawsconfiguration.html#cfn-devopsagent-association-sourceawsconfiguration-accounttype
//
AccountType *string `field:"required" json:"accountType" yaml:"accountType"`
// Role ARN to be assumed by AWS DevOps Agent 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
//
AssumableRoleArn *string `field:"required" json:"assumableRoleArn" yaml:"assumableRoleArn"`
// List of resources to monitor.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-sourceawsconfiguration.html#cfn-devopsagent-association-sourceawsconfiguration-resources
//
Resources interface{} `field:"optional" json:"resources" yaml:"resources"`
// List of tags as key-value pairs, used to identify resources for topology crawl.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-sourceawsconfiguration.html#cfn-devopsagent-association-sourceawsconfiguration-tags
//
Tags *[]*CfnAssociation_KeyValuePairProperty `field:"optional" json:"tags" yaml:"tags"`
}
Configuration for AWS source account integration.
Specifies the account ID, assumable role ARN, and resources to be monitored in the source account.
Example:
// 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 resourceMetadata interface{}
sourceAwsConfigurationProperty := &SourceAwsConfigurationProperty{
AccountId: jsii.String("accountId"),
AccountType: jsii.String("accountType"),
AssumableRoleArn: jsii.String("assumableRoleArn"),
// the properties below are optional
Resources: []interface{}{
&AWSResourceProperty{
ResourceArn: jsii.String("resourceArn"),
// the properties below are optional
ResourceMetadata: resourceMetadata,
ResourceType: jsii.String("resourceType"),
},
},
Tags: []KeyValuePairProperty{
&KeyValuePairProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnPrivateConnection ¶ added in v2.251.0
type CfnPrivateConnection interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsdevopsagent.IPrivateConnectionRef
awscdk.ITaggableV2
// The Amazon Resource Name (ARN) of the Private Connection.
AttrArn() *string
// The expiry time of the certificate associated with the Private Connection.
AttrCertificateExpiryTime() *string
// The status of the Private Connection.
AttrStatus() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Certificate for the Private Connection.
Certificate() *string
SetCertificate(val *string)
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnPropertyNames() *map[string]*string
// AWS resource type.
CfnResourceType() *string
// The connection configuration, either SelfManaged or ServiceManaged.
ConnectionConfiguration() interface{}
SetConnectionConfiguration(val interface{})
// Returns: 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.
CreationStack() *[]*string
Env() *interfaces.ResourceEnvironment
// 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.
LogicalId() *string
// Unique name for this Private Connection within the account.
Name() *string
SetName(val *string)
// The tree node.
Node() constructs.Node
// A reference to a PrivateConnection resource.
PrivateConnectionRef() *interfacesawsdevopsagent.PrivateConnectionReference
// 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 })`.
Ref() *string
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// An array of key-value pairs to apply to this resource.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// 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.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: 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.
//
AddMetadata(key *string, value interface{})
// 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,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "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.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the cross-stack reference strength for this resource.
//
// When set, any cross-stack reference to this resource will use the specified
// strength instead of the global default from the consuming stack's context.
ApplyCrossStackReferenceStrength(strength awscdk.ReferenceStrength)
// 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:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
CfnPropertyName(cdkPropertyName *string) *string
// 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.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: 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.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// 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.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
// Applies one or more mixins to this construct.
//
// Mixins are applied in order. The list of constructs is captured at the
// start of the call, so constructs added by a mixin will not be visited.
// Use multiple `with()` calls if subsequent mixins should apply to added
// constructs.
With(mixins ...constructs.IMixin) constructs.IConstruct
}
Resource Type definition for AWS::DevOpsAgent::PrivateConnection.
Example:
// 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"
cfnPrivateConnection := awscdk.Aws_devopsagent.NewCfnPrivateConnection(this, jsii.String("MyCfnPrivateConnection"), &CfnPrivateConnectionProps{
ConnectionConfiguration: &ConnectionConfigurationProperty{
SelfManaged: &SelfManagedModeProperty{
ResourceConfigurationId: jsii.String("resourceConfigurationId"),
},
ServiceManaged: &ServiceManagedModeProperty{
HostAddress: jsii.String("hostAddress"),
VpcId: jsii.String("vpcId"),
// the properties below are optional
IpAddressType: jsii.String("ipAddressType"),
Ipv4AddressesPerEni: jsii.Number(123),
PortRanges: []*string{
jsii.String("portRanges"),
},
SecurityGroupIds: []*string{
jsii.String("securityGroupIds"),
},
SubnetIds: []*string{
jsii.String("subnetIds"),
},
},
},
Name: jsii.String("name"),
// the properties below are optional
Certificate: jsii.String("certificate"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
func NewCfnPrivateConnection ¶ added in v2.251.0
func NewCfnPrivateConnection(scope constructs.Construct, id *string, props *CfnPrivateConnectionProps) CfnPrivateConnection
Create a new `AWS::DevOpsAgent::PrivateConnection`.
type CfnPrivateConnectionProps ¶ added in v2.251.0
type CfnPrivateConnectionProps struct {
// The connection configuration, either SelfManaged or ServiceManaged.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-privateconnection.html#cfn-devopsagent-privateconnection-connectionconfiguration
//
ConnectionConfiguration interface{} `field:"required" json:"connectionConfiguration" yaml:"connectionConfiguration"`
// Unique name for this Private Connection within the account.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-privateconnection.html#cfn-devopsagent-privateconnection-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// Certificate for the Private Connection.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-privateconnection.html#cfn-devopsagent-privateconnection-certificate
//
Certificate *string `field:"optional" json:"certificate" yaml:"certificate"`
// An array of key-value pairs to apply to this resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-privateconnection.html#cfn-devopsagent-privateconnection-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnPrivateConnection`.
Example:
// 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"
cfnPrivateConnectionProps := &CfnPrivateConnectionProps{
ConnectionConfiguration: &ConnectionConfigurationProperty{
SelfManaged: &SelfManagedModeProperty{
ResourceConfigurationId: jsii.String("resourceConfigurationId"),
},
ServiceManaged: &ServiceManagedModeProperty{
HostAddress: jsii.String("hostAddress"),
VpcId: jsii.String("vpcId"),
// the properties below are optional
IpAddressType: jsii.String("ipAddressType"),
Ipv4AddressesPerEni: jsii.Number(123),
PortRanges: []*string{
jsii.String("portRanges"),
},
SecurityGroupIds: []*string{
jsii.String("securityGroupIds"),
},
SubnetIds: []*string{
jsii.String("subnetIds"),
},
},
},
Name: jsii.String("name"),
// the properties below are optional
Certificate: jsii.String("certificate"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnPrivateConnection_ConnectionConfigurationProperty ¶ added in v2.251.0
type CfnPrivateConnection_ConnectionConfigurationProperty struct {
// Configuration for a self-managed Private Connection.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-connectionconfiguration.html#cfn-devopsagent-privateconnection-connectionconfiguration-selfmanaged
//
SelfManaged interface{} `field:"optional" json:"selfManaged" yaml:"selfManaged"`
// Configuration for a service-managed Private Connection.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-connectionconfiguration.html#cfn-devopsagent-privateconnection-connectionconfiguration-servicemanaged
//
ServiceManaged interface{} `field:"optional" json:"serviceManaged" yaml:"serviceManaged"`
}
Example:
// 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"
connectionConfigurationProperty := &ConnectionConfigurationProperty{
SelfManaged: &SelfManagedModeProperty{
ResourceConfigurationId: jsii.String("resourceConfigurationId"),
},
ServiceManaged: &ServiceManagedModeProperty{
HostAddress: jsii.String("hostAddress"),
VpcId: jsii.String("vpcId"),
// the properties below are optional
IpAddressType: jsii.String("ipAddressType"),
Ipv4AddressesPerEni: jsii.Number(123),
PortRanges: []*string{
jsii.String("portRanges"),
},
SecurityGroupIds: []*string{
jsii.String("securityGroupIds"),
},
SubnetIds: []*string{
jsii.String("subnetIds"),
},
},
}
type CfnPrivateConnection_SelfManagedModeProperty ¶ added in v2.251.0
type CfnPrivateConnection_SelfManagedModeProperty struct {
// The ARN of the Resource Configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-selfmanagedmode.html#cfn-devopsagent-privateconnection-selfmanagedmode-resourceconfigurationid
//
ResourceConfigurationId *string `field:"required" json:"resourceConfigurationId" yaml:"resourceConfigurationId"`
}
Configuration for a self-managed Private Connection.
Example:
// 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"
selfManagedModeProperty := &SelfManagedModeProperty{
ResourceConfigurationId: jsii.String("resourceConfigurationId"),
}
type CfnPrivateConnection_ServiceManagedModeProperty ¶ added in v2.251.0
type CfnPrivateConnection_ServiceManagedModeProperty struct {
// IP address or DNS name of the target resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.html#cfn-devopsagent-privateconnection-servicemanagedmode-hostaddress
//
HostAddress *string `field:"required" json:"hostAddress" yaml:"hostAddress"`
// VPC to create the service-managed Resource Gateway in.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.html#cfn-devopsagent-privateconnection-servicemanagedmode-vpcid
//
VpcId *string `field:"required" json:"vpcId" yaml:"vpcId"`
// IP address type of the service-managed Resource Gateway.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.html#cfn-devopsagent-privateconnection-servicemanagedmode-ipaddresstype
//
IpAddressType *string `field:"optional" json:"ipAddressType" yaml:"ipAddressType"`
// Number of IPv4 addresses in each ENI for the service-managed Resource Gateway.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.html#cfn-devopsagent-privateconnection-servicemanagedmode-ipv4addressespereni
//
Ipv4AddressesPerEni *float64 `field:"optional" json:"ipv4AddressesPerEni" yaml:"ipv4AddressesPerEni"`
// TCP port ranges that a consumer can use to access the resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.html#cfn-devopsagent-privateconnection-servicemanagedmode-portranges
//
PortRanges *[]*string `field:"optional" json:"portRanges" yaml:"portRanges"`
// Security groups to attach to the service-managed Resource Gateway.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.html#cfn-devopsagent-privateconnection-servicemanagedmode-securitygroupids
//
SecurityGroupIds *[]*string `field:"optional" json:"securityGroupIds" yaml:"securityGroupIds"`
// Subnets that the service-managed Resource Gateway will span.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.html#cfn-devopsagent-privateconnection-servicemanagedmode-subnetids
//
SubnetIds *[]*string `field:"optional" json:"subnetIds" yaml:"subnetIds"`
}
Configuration for a service-managed Private Connection.
Example:
// 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"
serviceManagedModeProperty := &ServiceManagedModeProperty{
HostAddress: jsii.String("hostAddress"),
VpcId: jsii.String("vpcId"),
// the properties below are optional
IpAddressType: jsii.String("ipAddressType"),
Ipv4AddressesPerEni: jsii.Number(123),
PortRanges: []*string{
jsii.String("portRanges"),
},
SecurityGroupIds: []*string{
jsii.String("securityGroupIds"),
},
SubnetIds: []*string{
jsii.String("subnetIds"),
},
}
type CfnService ¶ added in v2.241.0
type CfnService interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsdevopsagent.IServiceRef
awscdk.ITaggableV2
// List of accessible resources for this service.
AttrAccessibleResources() awscdk.IResolvable
// Additional details specific to the service type returned after registration.
AttrAdditionalServiceDetails() awscdk.IResolvable
// The Amazon Resource Name (ARN) of the Service.
AttrArn() *string
// The unique identifier of the service.
AttrServiceId() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnPropertyNames() *map[string]*string
// AWS resource type.
CfnResourceType() *string
// Returns: 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.
CreationStack() *[]*string
Env() *interfaces.ResourceEnvironment
// The ARN of the KMS key to use for encryption.
KmsKeyArn() *string
SetKmsKeyArn(val *string)
// 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.
LogicalId() *string
// The tree node.
Node() constructs.Node
// 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 })`.
Ref() *string
// Service-specific configuration details - only MCPServerSigV4 supports in-place updates, all other service types require replacement when modified.
ServiceDetails() interface{}
SetServiceDetails(val interface{})
// A reference to a Service resource.
ServiceRef() *interfacesawsdevopsagent.ServiceReference
// The type of service being registered.
ServiceType() *string
SetServiceType(val *string)
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// An array of key-value pairs to apply to this resource.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// 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.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: 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.
//
AddMetadata(key *string, value interface{})
// 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,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "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.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the cross-stack reference strength for this resource.
//
// When set, any cross-stack reference to this resource will use the specified
// strength instead of the global default from the consuming stack's context.
ApplyCrossStackReferenceStrength(strength awscdk.ReferenceStrength)
// 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:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
CfnPropertyName(cdkPropertyName *string) *string
// 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.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: 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.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// 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.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
// Applies one or more mixins to this construct.
//
// Mixins are applied in order. The list of constructs is captured at the
// start of the call, so constructs added by a mixin will not be visited.
// Use multiple `with()` calls if subsequent mixins should apply to added
// constructs.
With(mixins ...constructs.IMixin) constructs.IConstruct
}
The AWS::DevOpsAgent::Service resource registers external services (like Dynatrace, MCP servers, GitLab) for integration with DevOpsAgent.
Example:
// 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 exchangeParameters interface{}
cfnService := awscdk.Aws_devopsagent.NewCfnService(this, jsii.String("MyCfnService"), &CfnServiceProps{
ServiceType: jsii.String("serviceType"),
// the properties below are optional
KmsKeyArn: jsii.String("kmsKeyArn"),
ServiceDetails: &ServiceDetailsProperty{
AzureIdentity: &AzureIdentityServiceDetailsProperty{
ClientId: jsii.String("clientId"),
TenantId: jsii.String("tenantId"),
WebIdentityRoleArn: jsii.String("webIdentityRoleArn"),
WebIdentityTokenAudiences: []*string{
jsii.String("webIdentityTokenAudiences"),
},
},
Dynatrace: &DynatraceServiceDetailsProperty{
AccountUrn: jsii.String("accountUrn"),
// the properties below are optional
AuthorizationConfig: &DynatraceAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
},
GitLab: &GitLabDetailsProperty{
TargetUrl: jsii.String("targetUrl"),
TokenType: jsii.String("tokenType"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
GroupId: jsii.String("groupId"),
},
McpServer: &MCPServerDetailsProperty{
AuthorizationConfig: &MCPServerAuthorizationConfigProperty{
ApiKey: &ApiKeyDetailsProperty{
ApiKeyHeader: jsii.String("apiKeyHeader"),
ApiKeyName: jsii.String("apiKeyName"),
ApiKeyValue: jsii.String("apiKeyValue"),
},
OAuthClientCredentials: &MCPServerOAuthClientCredentialsConfigProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
ExchangeUrl: jsii.String("exchangeUrl"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
Scopes: []*string{
jsii.String("scopes"),
},
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
McpServerGrafana: &MCPServerGrafanaDetailsProperty{
AuthorizationConfig: &MCPServerGrafanaAuthorizationConfigProperty{
BearerToken: &BearerTokenDetailsProperty{
TokenName: jsii.String("tokenName"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
AuthorizationHeader: jsii.String("authorizationHeader"),
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
McpServerNewRelic: &NewRelicServiceDetailsProperty{
AuthorizationConfig: &NewRelicAuthorizationConfigProperty{
ApiKey: &NewRelicApiKeyConfigProperty{
AccountId: jsii.String("accountId"),
ApiKey: jsii.String("apiKey"),
Region: jsii.String("region"),
// the properties below are optional
AlertPolicyIds: []*string{
jsii.String("alertPolicyIds"),
},
ApplicationIds: []*string{
jsii.String("applicationIds"),
},
EntityGuids: []*string{
jsii.String("entityGuids"),
},
},
},
},
McpServerSigV4: &MCPServerSigV4DetailsProperty{
AuthorizationConfig: &MCPServerSigV4AuthorizationConfigProperty{
Region: jsii.String("region"),
RoleArn: jsii.String("roleArn"),
Service: jsii.String("service"),
// the properties below are optional
CustomHeaders: map[string]*string{
"customHeadersKey": jsii.String("customHeaders"),
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
McpServerSplunk: &MCPServerSplunkDetailsProperty{
AuthorizationConfig: &MCPServerSplunkAuthorizationConfigProperty{
BearerToken: &BearerTokenDetailsProperty{
TokenName: jsii.String("tokenName"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
AuthorizationHeader: jsii.String("authorizationHeader"),
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
PagerDuty: &PagerDutyDetailsProperty{
AuthorizationConfig: &PagerDutyAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
Scopes: []*string{
jsii.String("scopes"),
},
},
ServiceNow: &ServiceNowServiceDetailsProperty{
InstanceUrl: jsii.String("instanceUrl"),
// the properties below are optional
AuthorizationConfig: &ServiceNowAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-service.html
func NewCfnService ¶ added in v2.241.0
func NewCfnService(scope constructs.Construct, id *string, props *CfnServiceProps) CfnService
Create a new `AWS::DevOpsAgent::Service`.
type CfnServiceProps ¶ added in v2.241.0
type CfnServiceProps struct {
// The type of service being registered.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-service.html#cfn-devopsagent-service-servicetype
//
ServiceType *string `field:"required" json:"serviceType" yaml:"serviceType"`
// The ARN of the KMS key to use for encryption.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-service.html#cfn-devopsagent-service-kmskeyarn
//
KmsKeyArn *string `field:"optional" json:"kmsKeyArn" yaml:"kmsKeyArn"`
// Service-specific configuration details - only MCPServerSigV4 supports in-place updates, all other service types require replacement when modified.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-service.html#cfn-devopsagent-service-servicedetails
//
ServiceDetails interface{} `field:"optional" json:"serviceDetails" yaml:"serviceDetails"`
// An array of key-value pairs to apply to this resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-service.html#cfn-devopsagent-service-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnService`.
Example:
// 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 exchangeParameters interface{}
cfnServiceProps := &CfnServiceProps{
ServiceType: jsii.String("serviceType"),
// the properties below are optional
KmsKeyArn: jsii.String("kmsKeyArn"),
ServiceDetails: &ServiceDetailsProperty{
AzureIdentity: &AzureIdentityServiceDetailsProperty{
ClientId: jsii.String("clientId"),
TenantId: jsii.String("tenantId"),
WebIdentityRoleArn: jsii.String("webIdentityRoleArn"),
WebIdentityTokenAudiences: []*string{
jsii.String("webIdentityTokenAudiences"),
},
},
Dynatrace: &DynatraceServiceDetailsProperty{
AccountUrn: jsii.String("accountUrn"),
// the properties below are optional
AuthorizationConfig: &DynatraceAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
},
GitLab: &GitLabDetailsProperty{
TargetUrl: jsii.String("targetUrl"),
TokenType: jsii.String("tokenType"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
GroupId: jsii.String("groupId"),
},
McpServer: &MCPServerDetailsProperty{
AuthorizationConfig: &MCPServerAuthorizationConfigProperty{
ApiKey: &ApiKeyDetailsProperty{
ApiKeyHeader: jsii.String("apiKeyHeader"),
ApiKeyName: jsii.String("apiKeyName"),
ApiKeyValue: jsii.String("apiKeyValue"),
},
OAuthClientCredentials: &MCPServerOAuthClientCredentialsConfigProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
ExchangeUrl: jsii.String("exchangeUrl"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
Scopes: []*string{
jsii.String("scopes"),
},
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
McpServerGrafana: &MCPServerGrafanaDetailsProperty{
AuthorizationConfig: &MCPServerGrafanaAuthorizationConfigProperty{
BearerToken: &BearerTokenDetailsProperty{
TokenName: jsii.String("tokenName"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
AuthorizationHeader: jsii.String("authorizationHeader"),
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
McpServerNewRelic: &NewRelicServiceDetailsProperty{
AuthorizationConfig: &NewRelicAuthorizationConfigProperty{
ApiKey: &NewRelicApiKeyConfigProperty{
AccountId: jsii.String("accountId"),
ApiKey: jsii.String("apiKey"),
Region: jsii.String("region"),
// the properties below are optional
AlertPolicyIds: []*string{
jsii.String("alertPolicyIds"),
},
ApplicationIds: []*string{
jsii.String("applicationIds"),
},
EntityGuids: []*string{
jsii.String("entityGuids"),
},
},
},
},
McpServerSigV4: &MCPServerSigV4DetailsProperty{
AuthorizationConfig: &MCPServerSigV4AuthorizationConfigProperty{
Region: jsii.String("region"),
RoleArn: jsii.String("roleArn"),
Service: jsii.String("service"),
// the properties below are optional
CustomHeaders: map[string]*string{
"customHeadersKey": jsii.String("customHeaders"),
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
McpServerSplunk: &MCPServerSplunkDetailsProperty{
AuthorizationConfig: &MCPServerSplunkAuthorizationConfigProperty{
BearerToken: &BearerTokenDetailsProperty{
TokenName: jsii.String("tokenName"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
AuthorizationHeader: jsii.String("authorizationHeader"),
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
PagerDuty: &PagerDutyDetailsProperty{
AuthorizationConfig: &PagerDutyAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
Scopes: []*string{
jsii.String("scopes"),
},
},
ServiceNow: &ServiceNowServiceDetailsProperty{
InstanceUrl: jsii.String("instanceUrl"),
// the properties below are optional
AuthorizationConfig: &ServiceNowAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-service.html
type CfnService_AdditionalServiceDetailsProperty ¶ added in v2.241.0
type CfnService_AdditionalServiceDetailsProperty struct {
// Azure Identity service details returned after registration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-additionalservicedetails.html#cfn-devopsagent-service-additionalservicedetails-azureidentity
//
AzureIdentity interface{} `field:"optional" json:"azureIdentity" yaml:"azureIdentity"`
// Dynatrace service details returned after registration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-additionalservicedetails.html#cfn-devopsagent-service-additionalservicedetails-dynatrace
//
Dynatrace interface{} `field:"optional" json:"dynatrace" yaml:"dynatrace"`
// GitLab service details returned after registration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-additionalservicedetails.html#cfn-devopsagent-service-additionalservicedetails-gitlab
//
GitLab interface{} `field:"optional" json:"gitLab" yaml:"gitLab"`
// MCP server details returned after registration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-additionalservicedetails.html#cfn-devopsagent-service-additionalservicedetails-mcpserver
//
McpServer interface{} `field:"optional" json:"mcpServer" yaml:"mcpServer"`
// Grafana MCP server details returned after registration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-additionalservicedetails.html#cfn-devopsagent-service-additionalservicedetails-mcpservergrafana
//
McpServerGrafana interface{} `field:"optional" json:"mcpServerGrafana" yaml:"mcpServerGrafana"`
// New Relic service details returned after registration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-additionalservicedetails.html#cfn-devopsagent-service-additionalservicedetails-mcpservernewrelic
//
McpServerNewRelic interface{} `field:"optional" json:"mcpServerNewRelic" yaml:"mcpServerNewRelic"`
// SigV4-authenticated MCP server details returned after registration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-additionalservicedetails.html#cfn-devopsagent-service-additionalservicedetails-mcpserversigv4
//
McpServerSigV4 interface{} `field:"optional" json:"mcpServerSigV4" yaml:"mcpServerSigV4"`
// MCP server details returned after registration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-additionalservicedetails.html#cfn-devopsagent-service-additionalservicedetails-mcpserversplunk
//
McpServerSplunk interface{} `field:"optional" json:"mcpServerSplunk" yaml:"mcpServerSplunk"`
// PagerDuty service details returned after registration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-additionalservicedetails.html#cfn-devopsagent-service-additionalservicedetails-pagerduty
//
PagerDuty interface{} `field:"optional" json:"pagerDuty" yaml:"pagerDuty"`
// ServiceNow service details returned after registration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-additionalservicedetails.html#cfn-devopsagent-service-additionalservicedetails-servicenow
//
ServiceNow interface{} `field:"optional" json:"serviceNow" yaml:"serviceNow"`
}
Example:
// 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"
additionalServiceDetailsProperty := &AdditionalServiceDetailsProperty{
AzureIdentity: &RegisteredAzureIdentityDetailsProperty{
ClientId: jsii.String("clientId"),
TenantId: jsii.String("tenantId"),
WebIdentityRoleArn: jsii.String("webIdentityRoleArn"),
WebIdentityTokenAudiences: []*string{
jsii.String("webIdentityTokenAudiences"),
},
},
Dynatrace: &RegisteredDynatraceDetailsProperty{
AccountUrn: jsii.String("accountUrn"),
},
GitLab: &RegisteredGitLabServiceDetailsProperty{
TargetUrl: jsii.String("targetUrl"),
TokenType: jsii.String("tokenType"),
// the properties below are optional
GroupId: jsii.String("groupId"),
},
McpServer: &RegisteredMCPServerDetailsProperty{
AuthorizationMethod: jsii.String("authorizationMethod"),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
ApiKeyHeader: jsii.String("apiKeyHeader"),
Description: jsii.String("description"),
},
McpServerGrafana: &RegisteredMCPServerGrafanaDetailsProperty{
AuthorizationMethod: jsii.String("authorizationMethod"),
Endpoint: jsii.String("endpoint"),
// the properties below are optional
Description: jsii.String("description"),
Name: jsii.String("name"),
},
McpServerNewRelic: &RegisteredNewRelicDetailsProperty{
AccountId: jsii.String("accountId"),
Region: jsii.String("region"),
// the properties below are optional
Description: jsii.String("description"),
},
McpServerSigV4: &RegisteredMCPServerSigV4DetailsProperty{
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
Region: jsii.String("region"),
RoleArn: jsii.String("roleArn"),
Service: jsii.String("service"),
// the properties below are optional
CustomHeaders: map[string]*string{
"customHeadersKey": jsii.String("customHeaders"),
},
Description: jsii.String("description"),
},
McpServerSplunk: &RegisteredMCPServerDetailsProperty{
AuthorizationMethod: jsii.String("authorizationMethod"),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
ApiKeyHeader: jsii.String("apiKeyHeader"),
Description: jsii.String("description"),
},
PagerDuty: &RegisteredPagerDutyDetailsProperty{
Scopes: []*string{
jsii.String("scopes"),
},
},
ServiceNow: &RegisteredServiceNowDetailsProperty{
InstanceUrl: jsii.String("instanceUrl"),
},
}
type CfnService_ApiKeyDetailsProperty ¶ added in v2.241.0
type CfnService_ApiKeyDetailsProperty struct {
// HTTP header name to send the API key.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-apikeydetails.html#cfn-devopsagent-service-apikeydetails-apikeyheader
//
ApiKeyHeader *string `field:"required" json:"apiKeyHeader" yaml:"apiKeyHeader"`
// User friendly API key name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-apikeydetails.html#cfn-devopsagent-service-apikeydetails-apikeyname
//
ApiKeyName *string `field:"required" json:"apiKeyName" yaml:"apiKeyName"`
// API key value.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-apikeydetails.html#cfn-devopsagent-service-apikeydetails-apikeyvalue
//
ApiKeyValue *string `field:"required" json:"apiKeyValue" yaml:"apiKeyValue"`
}
API key authentication details.
Example:
// 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"
apiKeyDetailsProperty := &ApiKeyDetailsProperty{
ApiKeyHeader: jsii.String("apiKeyHeader"),
ApiKeyName: jsii.String("apiKeyName"),
ApiKeyValue: jsii.String("apiKeyValue"),
}
type CfnService_AzureIdentityServiceDetailsProperty ¶ added in v2.251.0
type CfnService_AzureIdentityServiceDetailsProperty struct {
// Azure AD application client ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-azureidentityservicedetails.html#cfn-devopsagent-service-azureidentityservicedetails-clientid
//
ClientId *string `field:"required" json:"clientId" yaml:"clientId"`
// Azure AD tenant ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-azureidentityservicedetails.html#cfn-devopsagent-service-azureidentityservicedetails-tenantid
//
TenantId *string `field:"required" json:"tenantId" yaml:"tenantId"`
// ARN of the IAM role for web identity token exchange.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-azureidentityservicedetails.html#cfn-devopsagent-service-azureidentityservicedetails-webidentityrolearn
//
WebIdentityRoleArn *string `field:"required" json:"webIdentityRoleArn" yaml:"webIdentityRoleArn"`
// List of audiences for the web identity token.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-azureidentityservicedetails.html#cfn-devopsagent-service-azureidentityservicedetails-webidentitytokenaudiences
//
WebIdentityTokenAudiences *[]*string `field:"required" json:"webIdentityTokenAudiences" yaml:"webIdentityTokenAudiences"`
}
Azure Identity service configuration for federated identity.
Example:
// 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"
azureIdentityServiceDetailsProperty := &AzureIdentityServiceDetailsProperty{
ClientId: jsii.String("clientId"),
TenantId: jsii.String("tenantId"),
WebIdentityRoleArn: jsii.String("webIdentityRoleArn"),
WebIdentityTokenAudiences: []*string{
jsii.String("webIdentityTokenAudiences"),
},
}
type CfnService_BearerTokenDetailsProperty ¶ added in v2.241.0
type CfnService_BearerTokenDetailsProperty struct {
// User friendly bearer token name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-bearertokendetails.html#cfn-devopsagent-service-bearertokendetails-tokenname
//
TokenName *string `field:"required" json:"tokenName" yaml:"tokenName"`
// Bearer token value.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-bearertokendetails.html#cfn-devopsagent-service-bearertokendetails-tokenvalue
//
TokenValue *string `field:"required" json:"tokenValue" yaml:"tokenValue"`
// HTTP header name to send the bearer token.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-bearertokendetails.html#cfn-devopsagent-service-bearertokendetails-authorizationheader
//
// Default: - "Authorization".
//
AuthorizationHeader *string `field:"optional" json:"authorizationHeader" yaml:"authorizationHeader"`
}
Bearer token authentication details.
Example:
// 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"
bearerTokenDetailsProperty := &BearerTokenDetailsProperty{
TokenName: jsii.String("tokenName"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
AuthorizationHeader: jsii.String("authorizationHeader"),
}
type CfnService_DynatraceAuthorizationConfigProperty ¶ added in v2.241.0
type CfnService_DynatraceAuthorizationConfigProperty struct {
// OAuth client credentials.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-dynatraceauthorizationconfig.html#cfn-devopsagent-service-dynatraceauthorizationconfig-oauthclientcredentials
//
OAuthClientCredentials interface{} `field:"optional" json:"oAuthClientCredentials" yaml:"oAuthClientCredentials"`
}
Dynatrace OAuth authorization configuration.
Example:
// 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 exchangeParameters interface{}
dynatraceAuthorizationConfigProperty := &DynatraceAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
}
type CfnService_DynatraceServiceDetailsProperty ¶ added in v2.241.0
type CfnService_DynatraceServiceDetailsProperty struct {
// Dynatrace resource account URN.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-dynatraceservicedetails.html#cfn-devopsagent-service-dynatraceservicedetails-accounturn
//
AccountUrn *string `field:"required" json:"accountUrn" yaml:"accountUrn"`
// Dynatrace OAuth authorization configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-dynatraceservicedetails.html#cfn-devopsagent-service-dynatraceservicedetails-authorizationconfig
//
AuthorizationConfig interface{} `field:"optional" json:"authorizationConfig" yaml:"authorizationConfig"`
}
Dynatrace service configuration.
Example:
// 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 exchangeParameters interface{}
dynatraceServiceDetailsProperty := &DynatraceServiceDetailsProperty{
AccountUrn: jsii.String("accountUrn"),
// the properties below are optional
AuthorizationConfig: &DynatraceAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
}
type CfnService_GitLabDetailsProperty ¶ added in v2.241.0
type CfnService_GitLabDetailsProperty struct {
// GitLab instance URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-gitlabdetails.html#cfn-devopsagent-service-gitlabdetails-targeturl
//
TargetUrl *string `field:"required" json:"targetUrl" yaml:"targetUrl"`
// Type of GitLab access token.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-gitlabdetails.html#cfn-devopsagent-service-gitlabdetails-tokentype
//
TokenType *string `field:"required" json:"tokenType" yaml:"tokenType"`
// GitLab access token value.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-gitlabdetails.html#cfn-devopsagent-service-gitlabdetails-tokenvalue
//
TokenValue *string `field:"required" json:"tokenValue" yaml:"tokenValue"`
// Optional GitLab group ID for group-level access tokens.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-gitlabdetails.html#cfn-devopsagent-service-gitlabdetails-groupid
//
GroupId *string `field:"optional" json:"groupId" yaml:"groupId"`
}
GitLab service configuration.
Example:
// 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"
gitLabDetailsProperty := &GitLabDetailsProperty{
TargetUrl: jsii.String("targetUrl"),
TokenType: jsii.String("tokenType"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
GroupId: jsii.String("groupId"),
}
type CfnService_MCPServerAuthorizationConfigProperty ¶ added in v2.241.0
type CfnService_MCPServerAuthorizationConfigProperty struct {
// API key authentication details.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserverauthorizationconfig.html#cfn-devopsagent-service-mcpserverauthorizationconfig-apikey
//
ApiKey interface{} `field:"optional" json:"apiKey" yaml:"apiKey"`
// MCP server OAuth client credentials configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserverauthorizationconfig.html#cfn-devopsagent-service-mcpserverauthorizationconfig-oauthclientcredentials
//
OAuthClientCredentials interface{} `field:"optional" json:"oAuthClientCredentials" yaml:"oAuthClientCredentials"`
}
Example:
// 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 exchangeParameters interface{}
mCPServerAuthorizationConfigProperty := &MCPServerAuthorizationConfigProperty{
ApiKey: &ApiKeyDetailsProperty{
ApiKeyHeader: jsii.String("apiKeyHeader"),
ApiKeyName: jsii.String("apiKeyName"),
ApiKeyValue: jsii.String("apiKeyValue"),
},
OAuthClientCredentials: &MCPServerOAuthClientCredentialsConfigProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
ExchangeUrl: jsii.String("exchangeUrl"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
Scopes: []*string{
jsii.String("scopes"),
},
},
}
type CfnService_MCPServerDetailsProperty ¶ added in v2.241.0
type CfnService_MCPServerDetailsProperty struct {
// MCP server authorization configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserverdetails.html#cfn-devopsagent-service-mcpserverdetails-authorizationconfig
//
AuthorizationConfig interface{} `field:"required" json:"authorizationConfig" yaml:"authorizationConfig"`
// MCP server endpoint URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserverdetails.html#cfn-devopsagent-service-mcpserverdetails-endpoint
//
Endpoint *string `field:"required" json:"endpoint" yaml:"endpoint"`
// MCP server name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserverdetails.html#cfn-devopsagent-service-mcpserverdetails-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// Optional description for the MCP server.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserverdetails.html#cfn-devopsagent-service-mcpserverdetails-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
}
MCP server configuration.
Example:
// 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 exchangeParameters interface{}
mCPServerDetailsProperty := &MCPServerDetailsProperty{
AuthorizationConfig: &MCPServerAuthorizationConfigProperty{
ApiKey: &ApiKeyDetailsProperty{
ApiKeyHeader: jsii.String("apiKeyHeader"),
ApiKeyName: jsii.String("apiKeyName"),
ApiKeyValue: jsii.String("apiKeyValue"),
},
OAuthClientCredentials: &MCPServerOAuthClientCredentialsConfigProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
ExchangeUrl: jsii.String("exchangeUrl"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
Scopes: []*string{
jsii.String("scopes"),
},
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
}
type CfnService_MCPServerGrafanaAuthorizationConfigProperty ¶ added in v2.258.0
type CfnService_MCPServerGrafanaAuthorizationConfigProperty struct {
// Bearer token authentication details.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpservergrafanaauthorizationconfig.html#cfn-devopsagent-service-mcpservergrafanaauthorizationconfig-bearertoken
//
BearerToken interface{} `field:"required" json:"bearerToken" yaml:"bearerToken"`
}
Grafana MCP server authorization configuration.
Example:
// 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"
mCPServerGrafanaAuthorizationConfigProperty := &MCPServerGrafanaAuthorizationConfigProperty{
BearerToken: &BearerTokenDetailsProperty{
TokenName: jsii.String("tokenName"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
AuthorizationHeader: jsii.String("authorizationHeader"),
},
}
type CfnService_MCPServerGrafanaDetailsProperty ¶ added in v2.258.0
type CfnService_MCPServerGrafanaDetailsProperty struct {
// Grafana MCP server authorization configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpservergrafanadetails.html#cfn-devopsagent-service-mcpservergrafanadetails-authorizationconfig
//
AuthorizationConfig interface{} `field:"required" json:"authorizationConfig" yaml:"authorizationConfig"`
// MCP server endpoint URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpservergrafanadetails.html#cfn-devopsagent-service-mcpservergrafanadetails-endpoint
//
Endpoint *string `field:"required" json:"endpoint" yaml:"endpoint"`
// MCP server name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpservergrafanadetails.html#cfn-devopsagent-service-mcpservergrafanadetails-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// Optional description for the MCP server.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpservergrafanadetails.html#cfn-devopsagent-service-mcpservergrafanadetails-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
}
Grafana MCP server configuration.
Example:
// 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"
mCPServerGrafanaDetailsProperty := &MCPServerGrafanaDetailsProperty{
AuthorizationConfig: &MCPServerGrafanaAuthorizationConfigProperty{
BearerToken: &BearerTokenDetailsProperty{
TokenName: jsii.String("tokenName"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
AuthorizationHeader: jsii.String("authorizationHeader"),
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
}
type CfnService_MCPServerOAuthClientCredentialsConfigProperty ¶ added in v2.241.0
type CfnService_MCPServerOAuthClientCredentialsConfigProperty struct {
// OAuth client ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserveroauthclientcredentialsconfig.html#cfn-devopsagent-service-mcpserveroauthclientcredentialsconfig-clientid
//
ClientId *string `field:"required" json:"clientId" yaml:"clientId"`
// OAuth client secret.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserveroauthclientcredentialsconfig.html#cfn-devopsagent-service-mcpserveroauthclientcredentialsconfig-clientsecret
//
ClientSecret *string `field:"required" json:"clientSecret" yaml:"clientSecret"`
// OAuth token exchange URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserveroauthclientcredentialsconfig.html#cfn-devopsagent-service-mcpserveroauthclientcredentialsconfig-exchangeurl
//
ExchangeUrl *string `field:"required" json:"exchangeUrl" yaml:"exchangeUrl"`
// User friendly OAuth client name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserveroauthclientcredentialsconfig.html#cfn-devopsagent-service-mcpserveroauthclientcredentialsconfig-clientname
//
ClientName *string `field:"optional" json:"clientName" yaml:"clientName"`
// OAuth token exchange parameters.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserveroauthclientcredentialsconfig.html#cfn-devopsagent-service-mcpserveroauthclientcredentialsconfig-exchangeparameters
//
ExchangeParameters interface{} `field:"optional" json:"exchangeParameters" yaml:"exchangeParameters"`
// OAuth scopes.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserveroauthclientcredentialsconfig.html#cfn-devopsagent-service-mcpserveroauthclientcredentialsconfig-scopes
//
Scopes *[]*string `field:"optional" json:"scopes" yaml:"scopes"`
}
MCP server OAuth client credentials configuration.
Example:
// 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 exchangeParameters interface{}
mCPServerOAuthClientCredentialsConfigProperty := &MCPServerOAuthClientCredentialsConfigProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
ExchangeUrl: jsii.String("exchangeUrl"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
Scopes: []*string{
jsii.String("scopes"),
},
}
type CfnService_MCPServerSigV4AuthorizationConfigProperty ¶ added in v2.251.0
type CfnService_MCPServerSigV4AuthorizationConfigProperty struct {
// AWS region for SigV4 signing.
//
// Use '*' for SigV4a multi-region signing.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserversigv4authorizationconfig.html#cfn-devopsagent-service-mcpserversigv4authorizationconfig-region
//
Region *string `field:"required" json:"region" yaml:"region"`
// IAM role ARN to assume for SigV4 signing.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserversigv4authorizationconfig.html#cfn-devopsagent-service-mcpserversigv4authorizationconfig-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// AWS service name for SigV4 signing.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserversigv4authorizationconfig.html#cfn-devopsagent-service-mcpserversigv4authorizationconfig-service
//
Service *string `field:"required" json:"service" yaml:"service"`
// Custom headers for the SigV4 MCP server.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserversigv4authorizationconfig.html#cfn-devopsagent-service-mcpserversigv4authorizationconfig-customheaders
//
CustomHeaders interface{} `field:"optional" json:"customHeaders" yaml:"customHeaders"`
}
SigV4 authorization configuration for MCP server.
Example:
// 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"
mCPServerSigV4AuthorizationConfigProperty := &MCPServerSigV4AuthorizationConfigProperty{
Region: jsii.String("region"),
RoleArn: jsii.String("roleArn"),
Service: jsii.String("service"),
// the properties below are optional
CustomHeaders: map[string]*string{
"customHeadersKey": jsii.String("customHeaders"),
},
}
type CfnService_MCPServerSigV4DetailsProperty ¶ added in v2.251.0
type CfnService_MCPServerSigV4DetailsProperty struct {
// SigV4 authorization configuration for MCP server.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserversigv4details.html#cfn-devopsagent-service-mcpserversigv4details-authorizationconfig
//
AuthorizationConfig interface{} `field:"required" json:"authorizationConfig" yaml:"authorizationConfig"`
// MCP server endpoint URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserversigv4details.html#cfn-devopsagent-service-mcpserversigv4details-endpoint
//
Endpoint *string `field:"required" json:"endpoint" yaml:"endpoint"`
// MCP server name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserversigv4details.html#cfn-devopsagent-service-mcpserversigv4details-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// Optional description for the MCP server.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserversigv4details.html#cfn-devopsagent-service-mcpserversigv4details-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
}
SigV4-authenticated MCP server configuration.
Example:
// 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"
mCPServerSigV4DetailsProperty := &MCPServerSigV4DetailsProperty{
AuthorizationConfig: &MCPServerSigV4AuthorizationConfigProperty{
Region: jsii.String("region"),
RoleArn: jsii.String("roleArn"),
Service: jsii.String("service"),
// the properties below are optional
CustomHeaders: map[string]*string{
"customHeadersKey": jsii.String("customHeaders"),
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
}
type CfnService_MCPServerSplunkAuthorizationConfigProperty ¶ added in v2.241.0
type CfnService_MCPServerSplunkAuthorizationConfigProperty struct {
// Bearer token authentication details.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserversplunkauthorizationconfig.html#cfn-devopsagent-service-mcpserversplunkauthorizationconfig-bearertoken
//
BearerToken interface{} `field:"required" json:"bearerToken" yaml:"bearerToken"`
}
MCP server splunk authorization configuration.
Example:
// 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"
mCPServerSplunkAuthorizationConfigProperty := &MCPServerSplunkAuthorizationConfigProperty{
BearerToken: &BearerTokenDetailsProperty{
TokenName: jsii.String("tokenName"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
AuthorizationHeader: jsii.String("authorizationHeader"),
},
}
type CfnService_MCPServerSplunkDetailsProperty ¶ added in v2.241.0
type CfnService_MCPServerSplunkDetailsProperty struct {
// MCP server splunk authorization configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserversplunkdetails.html#cfn-devopsagent-service-mcpserversplunkdetails-authorizationconfig
//
AuthorizationConfig interface{} `field:"required" json:"authorizationConfig" yaml:"authorizationConfig"`
// MCP server endpoint URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserversplunkdetails.html#cfn-devopsagent-service-mcpserversplunkdetails-endpoint
//
Endpoint *string `field:"required" json:"endpoint" yaml:"endpoint"`
// MCP server name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserversplunkdetails.html#cfn-devopsagent-service-mcpserversplunkdetails-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// Optional description for the MCP server.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-mcpserversplunkdetails.html#cfn-devopsagent-service-mcpserversplunkdetails-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
}
Splunk MCP server configuration.
Example:
// 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"
mCPServerSplunkDetailsProperty := &MCPServerSplunkDetailsProperty{
AuthorizationConfig: &MCPServerSplunkAuthorizationConfigProperty{
BearerToken: &BearerTokenDetailsProperty{
TokenName: jsii.String("tokenName"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
AuthorizationHeader: jsii.String("authorizationHeader"),
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
}
type CfnService_NewRelicApiKeyConfigProperty ¶ added in v2.241.0
type CfnService_NewRelicApiKeyConfigProperty struct {
// New Relic Account ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-newrelicapikeyconfig.html#cfn-devopsagent-service-newrelicapikeyconfig-accountid
//
AccountId *string `field:"required" json:"accountId" yaml:"accountId"`
// New Relic User API Key.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-newrelicapikeyconfig.html#cfn-devopsagent-service-newrelicapikeyconfig-apikey
//
ApiKey *string `field:"required" json:"apiKey" yaml:"apiKey"`
// New Relic region.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-newrelicapikeyconfig.html#cfn-devopsagent-service-newrelicapikeyconfig-region
//
Region *string `field:"required" json:"region" yaml:"region"`
// List of alert policy IDs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-newrelicapikeyconfig.html#cfn-devopsagent-service-newrelicapikeyconfig-alertpolicyids
//
AlertPolicyIds *[]*string `field:"optional" json:"alertPolicyIds" yaml:"alertPolicyIds"`
// List of monitored APM application IDs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-newrelicapikeyconfig.html#cfn-devopsagent-service-newrelicapikeyconfig-applicationids
//
ApplicationIds *[]*string `field:"optional" json:"applicationIds" yaml:"applicationIds"`
// List of globally unique IDs for New Relic resources.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-newrelicapikeyconfig.html#cfn-devopsagent-service-newrelicapikeyconfig-entityguids
//
EntityGuids *[]*string `field:"optional" json:"entityGuids" yaml:"entityGuids"`
}
New Relic API key configuration.
Example:
// 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"
newRelicApiKeyConfigProperty := &NewRelicApiKeyConfigProperty{
AccountId: jsii.String("accountId"),
ApiKey: jsii.String("apiKey"),
Region: jsii.String("region"),
// the properties below are optional
AlertPolicyIds: []*string{
jsii.String("alertPolicyIds"),
},
ApplicationIds: []*string{
jsii.String("applicationIds"),
},
EntityGuids: []*string{
jsii.String("entityGuids"),
},
}
type CfnService_NewRelicAuthorizationConfigProperty ¶ added in v2.241.0
type CfnService_NewRelicAuthorizationConfigProperty struct {
// New Relic API key configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-newrelicauthorizationconfig.html#cfn-devopsagent-service-newrelicauthorizationconfig-apikey
//
ApiKey interface{} `field:"required" json:"apiKey" yaml:"apiKey"`
}
New Relic authorization configuration.
Example:
// 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"
newRelicAuthorizationConfigProperty := &NewRelicAuthorizationConfigProperty{
ApiKey: &NewRelicApiKeyConfigProperty{
AccountId: jsii.String("accountId"),
ApiKey: jsii.String("apiKey"),
Region: jsii.String("region"),
// the properties below are optional
AlertPolicyIds: []*string{
jsii.String("alertPolicyIds"),
},
ApplicationIds: []*string{
jsii.String("applicationIds"),
},
EntityGuids: []*string{
jsii.String("entityGuids"),
},
},
}
type CfnService_NewRelicServiceDetailsProperty ¶ added in v2.241.0
type CfnService_NewRelicServiceDetailsProperty struct {
// New Relic authorization configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-newrelicservicedetails.html#cfn-devopsagent-service-newrelicservicedetails-authorizationconfig
//
AuthorizationConfig interface{} `field:"required" json:"authorizationConfig" yaml:"authorizationConfig"`
}
New Relic service configuration.
Example:
// 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"
newRelicServiceDetailsProperty := &NewRelicServiceDetailsProperty{
AuthorizationConfig: &NewRelicAuthorizationConfigProperty{
ApiKey: &NewRelicApiKeyConfigProperty{
AccountId: jsii.String("accountId"),
ApiKey: jsii.String("apiKey"),
Region: jsii.String("region"),
// the properties below are optional
AlertPolicyIds: []*string{
jsii.String("alertPolicyIds"),
},
ApplicationIds: []*string{
jsii.String("applicationIds"),
},
EntityGuids: []*string{
jsii.String("entityGuids"),
},
},
},
}
type CfnService_OAuthClientDetailsProperty ¶ added in v2.241.0
type CfnService_OAuthClientDetailsProperty struct {
// OAuth client ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-oauthclientdetails.html#cfn-devopsagent-service-oauthclientdetails-clientid
//
ClientId *string `field:"required" json:"clientId" yaml:"clientId"`
// OAuth client secret.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-oauthclientdetails.html#cfn-devopsagent-service-oauthclientdetails-clientsecret
//
ClientSecret *string `field:"required" json:"clientSecret" yaml:"clientSecret"`
// User friendly OAuth client name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-oauthclientdetails.html#cfn-devopsagent-service-oauthclientdetails-clientname
//
ClientName *string `field:"optional" json:"clientName" yaml:"clientName"`
// OAuth token exchange parameters.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-oauthclientdetails.html#cfn-devopsagent-service-oauthclientdetails-exchangeparameters
//
ExchangeParameters interface{} `field:"optional" json:"exchangeParameters" yaml:"exchangeParameters"`
}
OAuth client credentials.
Example:
// 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 exchangeParameters interface{}
oAuthClientDetailsProperty := &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
}
type CfnService_PagerDutyAuthorizationConfigProperty ¶ added in v2.251.0
type CfnService_PagerDutyAuthorizationConfigProperty struct {
// OAuth client credentials.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-pagerdutyauthorizationconfig.html#cfn-devopsagent-service-pagerdutyauthorizationconfig-oauthclientcredentials
//
OAuthClientCredentials interface{} `field:"optional" json:"oAuthClientCredentials" yaml:"oAuthClientCredentials"`
}
PagerDuty OAuth authorization configuration.
Example:
// 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 exchangeParameters interface{}
pagerDutyAuthorizationConfigProperty := &PagerDutyAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
}
type CfnService_PagerDutyDetailsProperty ¶ added in v2.251.0
type CfnService_PagerDutyDetailsProperty struct {
// PagerDuty OAuth authorization configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-pagerdutydetails.html#cfn-devopsagent-service-pagerdutydetails-authorizationconfig
//
AuthorizationConfig interface{} `field:"required" json:"authorizationConfig" yaml:"authorizationConfig"`
// PagerDuty scopes.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-pagerdutydetails.html#cfn-devopsagent-service-pagerdutydetails-scopes
//
Scopes *[]*string `field:"required" json:"scopes" yaml:"scopes"`
}
PagerDuty service configuration.
Example:
// 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 exchangeParameters interface{}
pagerDutyDetailsProperty := &PagerDutyDetailsProperty{
AuthorizationConfig: &PagerDutyAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
Scopes: []*string{
jsii.String("scopes"),
},
}
type CfnService_RegisteredAzureIdentityDetailsProperty ¶ added in v2.251.0
type CfnService_RegisteredAzureIdentityDetailsProperty struct {
// Azure AD application client ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredazureidentitydetails.html#cfn-devopsagent-service-registeredazureidentitydetails-clientid
//
ClientId *string `field:"required" json:"clientId" yaml:"clientId"`
// Azure AD tenant ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredazureidentitydetails.html#cfn-devopsagent-service-registeredazureidentitydetails-tenantid
//
TenantId *string `field:"required" json:"tenantId" yaml:"tenantId"`
// ARN of the IAM role for web identity token exchange.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredazureidentitydetails.html#cfn-devopsagent-service-registeredazureidentitydetails-webidentityrolearn
//
WebIdentityRoleArn *string `field:"required" json:"webIdentityRoleArn" yaml:"webIdentityRoleArn"`
// List of audiences for the web identity token.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredazureidentitydetails.html#cfn-devopsagent-service-registeredazureidentitydetails-webidentitytokenaudiences
//
WebIdentityTokenAudiences *[]*string `field:"required" json:"webIdentityTokenAudiences" yaml:"webIdentityTokenAudiences"`
}
Azure Identity service details returned after registration.
Example:
// 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"
registeredAzureIdentityDetailsProperty := &RegisteredAzureIdentityDetailsProperty{
ClientId: jsii.String("clientId"),
TenantId: jsii.String("tenantId"),
WebIdentityRoleArn: jsii.String("webIdentityRoleArn"),
WebIdentityTokenAudiences: []*string{
jsii.String("webIdentityTokenAudiences"),
},
}
type CfnService_RegisteredDynatraceDetailsProperty ¶ added in v2.241.0
type CfnService_RegisteredDynatraceDetailsProperty struct {
// Dynatrace resource account URN.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registereddynatracedetails.html#cfn-devopsagent-service-registereddynatracedetails-accounturn
//
AccountUrn *string `field:"required" json:"accountUrn" yaml:"accountUrn"`
}
Dynatrace service details returned after registration.
Example:
// 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"
registeredDynatraceDetailsProperty := &RegisteredDynatraceDetailsProperty{
AccountUrn: jsii.String("accountUrn"),
}
type CfnService_RegisteredGitLabServiceDetailsProperty ¶ added in v2.241.0
type CfnService_RegisteredGitLabServiceDetailsProperty struct {
// GitLab instance URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredgitlabservicedetails.html#cfn-devopsagent-service-registeredgitlabservicedetails-targeturl
//
TargetUrl *string `field:"required" json:"targetUrl" yaml:"targetUrl"`
// Type of GitLab access token.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredgitlabservicedetails.html#cfn-devopsagent-service-registeredgitlabservicedetails-tokentype
//
TokenType *string `field:"required" json:"tokenType" yaml:"tokenType"`
// Optional GitLab group ID for group-level access tokens.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredgitlabservicedetails.html#cfn-devopsagent-service-registeredgitlabservicedetails-groupid
//
GroupId *string `field:"optional" json:"groupId" yaml:"groupId"`
}
GitLab service details returned after registration.
Example:
// 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"
registeredGitLabServiceDetailsProperty := &RegisteredGitLabServiceDetailsProperty{
TargetUrl: jsii.String("targetUrl"),
TokenType: jsii.String("tokenType"),
// the properties below are optional
GroupId: jsii.String("groupId"),
}
type CfnService_RegisteredMCPServerDetailsProperty ¶ added in v2.241.0
type CfnService_RegisteredMCPServerDetailsProperty struct {
// MCP server authorization method.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpserverdetails.html#cfn-devopsagent-service-registeredmcpserverdetails-authorizationmethod
//
AuthorizationMethod *string `field:"required" json:"authorizationMethod" yaml:"authorizationMethod"`
// MCP server endpoint URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpserverdetails.html#cfn-devopsagent-service-registeredmcpserverdetails-endpoint
//
Endpoint *string `field:"required" json:"endpoint" yaml:"endpoint"`
// MCP server name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpserverdetails.html#cfn-devopsagent-service-registeredmcpserverdetails-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// API key header name if using API key authentication.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpserverdetails.html#cfn-devopsagent-service-registeredmcpserverdetails-apikeyheader
//
ApiKeyHeader *string `field:"optional" json:"apiKeyHeader" yaml:"apiKeyHeader"`
// Optional description for the MCP server.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpserverdetails.html#cfn-devopsagent-service-registeredmcpserverdetails-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
}
MCP server details returned after registration.
Example:
// 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"
registeredMCPServerDetailsProperty := &RegisteredMCPServerDetailsProperty{
AuthorizationMethod: jsii.String("authorizationMethod"),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
ApiKeyHeader: jsii.String("apiKeyHeader"),
Description: jsii.String("description"),
}
type CfnService_RegisteredMCPServerGrafanaDetailsProperty ¶ added in v2.258.0
type CfnService_RegisteredMCPServerGrafanaDetailsProperty struct {
// MCP server authorization method.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpservergrafanadetails.html#cfn-devopsagent-service-registeredmcpservergrafanadetails-authorizationmethod
//
AuthorizationMethod *string `field:"required" json:"authorizationMethod" yaml:"authorizationMethod"`
// MCP server endpoint URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpservergrafanadetails.html#cfn-devopsagent-service-registeredmcpservergrafanadetails-endpoint
//
Endpoint *string `field:"required" json:"endpoint" yaml:"endpoint"`
// Optional description for the MCP server.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpservergrafanadetails.html#cfn-devopsagent-service-registeredmcpservergrafanadetails-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// MCP server name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpservergrafanadetails.html#cfn-devopsagent-service-registeredmcpservergrafanadetails-name
//
Name *string `field:"optional" json:"name" yaml:"name"`
}
Grafana MCP server details returned after registration.
Example:
// 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"
registeredMCPServerGrafanaDetailsProperty := &RegisteredMCPServerGrafanaDetailsProperty{
AuthorizationMethod: jsii.String("authorizationMethod"),
Endpoint: jsii.String("endpoint"),
// the properties below are optional
Description: jsii.String("description"),
Name: jsii.String("name"),
}
type CfnService_RegisteredMCPServerSigV4DetailsProperty ¶ added in v2.251.0
type CfnService_RegisteredMCPServerSigV4DetailsProperty struct {
// The MCP server endpoint URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpserversigv4details.html#cfn-devopsagent-service-registeredmcpserversigv4details-endpoint
//
Endpoint *string `field:"required" json:"endpoint" yaml:"endpoint"`
// The MCP server name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpserversigv4details.html#cfn-devopsagent-service-registeredmcpserversigv4details-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// AWS region for SigV4 signing.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpserversigv4details.html#cfn-devopsagent-service-registeredmcpserversigv4details-region
//
Region *string `field:"required" json:"region" yaml:"region"`
// IAM role ARN for SigV4 signing.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpserversigv4details.html#cfn-devopsagent-service-registeredmcpserversigv4details-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// AWS service name for SigV4 signing.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpserversigv4details.html#cfn-devopsagent-service-registeredmcpserversigv4details-service
//
Service *string `field:"required" json:"service" yaml:"service"`
// Custom headers for the SigV4 MCP server.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpserversigv4details.html#cfn-devopsagent-service-registeredmcpserversigv4details-customheaders
//
CustomHeaders interface{} `field:"optional" json:"customHeaders" yaml:"customHeaders"`
// Optional description for the MCP server.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredmcpserversigv4details.html#cfn-devopsagent-service-registeredmcpserversigv4details-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
}
SigV4-authenticated MCP server details returned after registration.
Example:
// 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"
registeredMCPServerSigV4DetailsProperty := &RegisteredMCPServerSigV4DetailsProperty{
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
Region: jsii.String("region"),
RoleArn: jsii.String("roleArn"),
Service: jsii.String("service"),
// the properties below are optional
CustomHeaders: map[string]*string{
"customHeadersKey": jsii.String("customHeaders"),
},
Description: jsii.String("description"),
}
type CfnService_RegisteredNewRelicDetailsProperty ¶ added in v2.241.0
type CfnService_RegisteredNewRelicDetailsProperty struct {
// New Relic account ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registerednewrelicdetails.html#cfn-devopsagent-service-registerednewrelicdetails-accountid
//
AccountId *string `field:"required" json:"accountId" yaml:"accountId"`
// New Relic region.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registerednewrelicdetails.html#cfn-devopsagent-service-registerednewrelicdetails-region
//
Region *string `field:"required" json:"region" yaml:"region"`
// Optional user description.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registerednewrelicdetails.html#cfn-devopsagent-service-registerednewrelicdetails-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
}
New Relic service details returned after registration.
Example:
// 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"
registeredNewRelicDetailsProperty := &RegisteredNewRelicDetailsProperty{
AccountId: jsii.String("accountId"),
Region: jsii.String("region"),
// the properties below are optional
Description: jsii.String("description"),
}
type CfnService_RegisteredPagerDutyDetailsProperty ¶ added in v2.251.0
type CfnService_RegisteredPagerDutyDetailsProperty struct {
// The scopes assigned to the service.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredpagerdutydetails.html#cfn-devopsagent-service-registeredpagerdutydetails-scopes
//
Scopes *[]*string `field:"required" json:"scopes" yaml:"scopes"`
}
PagerDuty service details returned after registration.
Example:
// 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"
registeredPagerDutyDetailsProperty := &RegisteredPagerDutyDetailsProperty{
Scopes: []*string{
jsii.String("scopes"),
},
}
type CfnService_RegisteredServiceNowDetailsProperty ¶ added in v2.241.0
type CfnService_RegisteredServiceNowDetailsProperty struct {
// ServiceNow instance URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-registeredservicenowdetails.html#cfn-devopsagent-service-registeredservicenowdetails-instanceurl
//
InstanceUrl *string `field:"required" json:"instanceUrl" yaml:"instanceUrl"`
}
ServiceNow service details returned after registration.
Example:
// 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"
registeredServiceNowDetailsProperty := &RegisteredServiceNowDetailsProperty{
InstanceUrl: jsii.String("instanceUrl"),
}
type CfnService_ServiceDetailsProperty ¶ added in v2.241.0
type CfnService_ServiceDetailsProperty struct {
// Azure Identity service configuration for federated identity.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-servicedetails.html#cfn-devopsagent-service-servicedetails-azureidentity
//
AzureIdentity interface{} `field:"optional" json:"azureIdentity" yaml:"azureIdentity"`
// Dynatrace service configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-servicedetails.html#cfn-devopsagent-service-servicedetails-dynatrace
//
Dynatrace interface{} `field:"optional" json:"dynatrace" yaml:"dynatrace"`
// GitLab service configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-servicedetails.html#cfn-devopsagent-service-servicedetails-gitlab
//
GitLab interface{} `field:"optional" json:"gitLab" yaml:"gitLab"`
// MCP server configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-servicedetails.html#cfn-devopsagent-service-servicedetails-mcpserver
//
McpServer interface{} `field:"optional" json:"mcpServer" yaml:"mcpServer"`
// Grafana MCP server configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-servicedetails.html#cfn-devopsagent-service-servicedetails-mcpservergrafana
//
McpServerGrafana interface{} `field:"optional" json:"mcpServerGrafana" yaml:"mcpServerGrafana"`
// New Relic service configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-servicedetails.html#cfn-devopsagent-service-servicedetails-mcpservernewrelic
//
McpServerNewRelic interface{} `field:"optional" json:"mcpServerNewRelic" yaml:"mcpServerNewRelic"`
// SigV4-authenticated MCP server configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-servicedetails.html#cfn-devopsagent-service-servicedetails-mcpserversigv4
//
McpServerSigV4 interface{} `field:"optional" json:"mcpServerSigV4" yaml:"mcpServerSigV4"`
// Splunk MCP server configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-servicedetails.html#cfn-devopsagent-service-servicedetails-mcpserversplunk
//
McpServerSplunk interface{} `field:"optional" json:"mcpServerSplunk" yaml:"mcpServerSplunk"`
// PagerDuty service configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-servicedetails.html#cfn-devopsagent-service-servicedetails-pagerduty
//
PagerDuty interface{} `field:"optional" json:"pagerDuty" yaml:"pagerDuty"`
// ServiceNow service configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-servicedetails.html#cfn-devopsagent-service-servicedetails-servicenow
//
ServiceNow interface{} `field:"optional" json:"serviceNow" yaml:"serviceNow"`
}
Example:
// 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 exchangeParameters interface{}
serviceDetailsProperty := &ServiceDetailsProperty{
AzureIdentity: &AzureIdentityServiceDetailsProperty{
ClientId: jsii.String("clientId"),
TenantId: jsii.String("tenantId"),
WebIdentityRoleArn: jsii.String("webIdentityRoleArn"),
WebIdentityTokenAudiences: []*string{
jsii.String("webIdentityTokenAudiences"),
},
},
Dynatrace: &DynatraceServiceDetailsProperty{
AccountUrn: jsii.String("accountUrn"),
// the properties below are optional
AuthorizationConfig: &DynatraceAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
},
GitLab: &GitLabDetailsProperty{
TargetUrl: jsii.String("targetUrl"),
TokenType: jsii.String("tokenType"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
GroupId: jsii.String("groupId"),
},
McpServer: &MCPServerDetailsProperty{
AuthorizationConfig: &MCPServerAuthorizationConfigProperty{
ApiKey: &ApiKeyDetailsProperty{
ApiKeyHeader: jsii.String("apiKeyHeader"),
ApiKeyName: jsii.String("apiKeyName"),
ApiKeyValue: jsii.String("apiKeyValue"),
},
OAuthClientCredentials: &MCPServerOAuthClientCredentialsConfigProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
ExchangeUrl: jsii.String("exchangeUrl"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
Scopes: []*string{
jsii.String("scopes"),
},
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
McpServerGrafana: &MCPServerGrafanaDetailsProperty{
AuthorizationConfig: &MCPServerGrafanaAuthorizationConfigProperty{
BearerToken: &BearerTokenDetailsProperty{
TokenName: jsii.String("tokenName"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
AuthorizationHeader: jsii.String("authorizationHeader"),
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
McpServerNewRelic: &NewRelicServiceDetailsProperty{
AuthorizationConfig: &NewRelicAuthorizationConfigProperty{
ApiKey: &NewRelicApiKeyConfigProperty{
AccountId: jsii.String("accountId"),
ApiKey: jsii.String("apiKey"),
Region: jsii.String("region"),
// the properties below are optional
AlertPolicyIds: []*string{
jsii.String("alertPolicyIds"),
},
ApplicationIds: []*string{
jsii.String("applicationIds"),
},
EntityGuids: []*string{
jsii.String("entityGuids"),
},
},
},
},
McpServerSigV4: &MCPServerSigV4DetailsProperty{
AuthorizationConfig: &MCPServerSigV4AuthorizationConfigProperty{
Region: jsii.String("region"),
RoleArn: jsii.String("roleArn"),
Service: jsii.String("service"),
// the properties below are optional
CustomHeaders: map[string]*string{
"customHeadersKey": jsii.String("customHeaders"),
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
McpServerSplunk: &MCPServerSplunkDetailsProperty{
AuthorizationConfig: &MCPServerSplunkAuthorizationConfigProperty{
BearerToken: &BearerTokenDetailsProperty{
TokenName: jsii.String("tokenName"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
AuthorizationHeader: jsii.String("authorizationHeader"),
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
PagerDuty: &PagerDutyDetailsProperty{
AuthorizationConfig: &PagerDutyAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
Scopes: []*string{
jsii.String("scopes"),
},
},
ServiceNow: &ServiceNowServiceDetailsProperty{
InstanceUrl: jsii.String("instanceUrl"),
// the properties below are optional
AuthorizationConfig: &ServiceNowAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
},
}
type CfnService_ServiceNowAuthorizationConfigProperty ¶ added in v2.241.0
type CfnService_ServiceNowAuthorizationConfigProperty struct {
// OAuth client credentials.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-servicenowauthorizationconfig.html#cfn-devopsagent-service-servicenowauthorizationconfig-oauthclientcredentials
//
OAuthClientCredentials interface{} `field:"optional" json:"oAuthClientCredentials" yaml:"oAuthClientCredentials"`
}
ServiceNow OAuth authorization configuration.
Example:
// 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 exchangeParameters interface{}
serviceNowAuthorizationConfigProperty := &ServiceNowAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
}
type CfnService_ServiceNowServiceDetailsProperty ¶ added in v2.241.0
type CfnService_ServiceNowServiceDetailsProperty struct {
// ServiceNow instance URL.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-servicenowservicedetails.html#cfn-devopsagent-service-servicenowservicedetails-instanceurl
//
InstanceUrl *string `field:"required" json:"instanceUrl" yaml:"instanceUrl"`
// ServiceNow OAuth authorization configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-service-servicenowservicedetails.html#cfn-devopsagent-service-servicenowservicedetails-authorizationconfig
//
AuthorizationConfig interface{} `field:"optional" json:"authorizationConfig" yaml:"authorizationConfig"`
}
ServiceNow service configuration.
Example:
// 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 exchangeParameters interface{}
serviceNowServiceDetailsProperty := &ServiceNowServiceDetailsProperty{
InstanceUrl: jsii.String("instanceUrl"),
// the properties below are optional
AuthorizationConfig: &ServiceNowAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
}
Source Files
¶
- CfnAgentSpace.go
- CfnAgentSpaceProps.go
- CfnAgentSpace_IamAuthConfigurationProperty.go
- CfnAgentSpace_IdcAuthConfigurationProperty.go
- CfnAgentSpace_OperatorAppProperty.go
- CfnAgentSpace__checks.go
- CfnAssociation.go
- CfnAssociationProps.go
- CfnAssociation_AWSConfigurationProperty.go
- CfnAssociation_AWSResourceProperty.go
- CfnAssociation_AzureConfigurationProperty.go
- CfnAssociation_DynatraceConfigurationProperty.go
- CfnAssociation_EventChannelConfigurationProperty.go
- CfnAssociation_GitHubConfigurationProperty.go
- CfnAssociation_GitLabConfigurationProperty.go
- CfnAssociation_KeyValuePairProperty.go
- CfnAssociation_MCPServerConfigurationProperty.go
- CfnAssociation_MCPServerDatadogConfigurationProperty.go
- CfnAssociation_MCPServerGrafanaConfigurationProperty.go
- CfnAssociation_MCPServerNewRelicConfigurationProperty.go
- CfnAssociation_MCPServerSigV4ConfigurationProperty.go
- CfnAssociation_MCPServerSplunkConfigurationProperty.go
- CfnAssociation_PagerDutyConfigurationProperty.go
- CfnAssociation_ServiceConfigurationProperty.go
- CfnAssociation_ServiceNowConfigurationProperty.go
- CfnAssociation_SlackChannelProperty.go
- CfnAssociation_SlackConfigurationProperty.go
- CfnAssociation_SlackTransmissionTargetProperty.go
- CfnAssociation_SourceAwsConfigurationProperty.go
- CfnAssociation__checks.go
- CfnPrivateConnection.go
- CfnPrivateConnectionProps.go
- CfnPrivateConnection_ConnectionConfigurationProperty.go
- CfnPrivateConnection_SelfManagedModeProperty.go
- CfnPrivateConnection_ServiceManagedModeProperty.go
- CfnPrivateConnection__checks.go
- CfnService.go
- CfnServiceProps.go
- CfnService_AdditionalServiceDetailsProperty.go
- CfnService_ApiKeyDetailsProperty.go
- CfnService_AzureIdentityServiceDetailsProperty.go
- CfnService_BearerTokenDetailsProperty.go
- CfnService_DynatraceAuthorizationConfigProperty.go
- CfnService_DynatraceServiceDetailsProperty.go
- CfnService_GitLabDetailsProperty.go
- CfnService_MCPServerAuthorizationConfigProperty.go
- CfnService_MCPServerDetailsProperty.go
- CfnService_MCPServerGrafanaAuthorizationConfigProperty.go
- CfnService_MCPServerGrafanaDetailsProperty.go
- CfnService_MCPServerOAuthClientCredentialsConfigProperty.go
- CfnService_MCPServerSigV4AuthorizationConfigProperty.go
- CfnService_MCPServerSigV4DetailsProperty.go
- CfnService_MCPServerSplunkAuthorizationConfigProperty.go
- CfnService_MCPServerSplunkDetailsProperty.go
- CfnService_NewRelicApiKeyConfigProperty.go
- CfnService_NewRelicAuthorizationConfigProperty.go
- CfnService_NewRelicServiceDetailsProperty.go
- CfnService_OAuthClientDetailsProperty.go
- CfnService_PagerDutyAuthorizationConfigProperty.go
- CfnService_PagerDutyDetailsProperty.go
- CfnService_RegisteredAzureIdentityDetailsProperty.go
- CfnService_RegisteredDynatraceDetailsProperty.go
- CfnService_RegisteredGitLabServiceDetailsProperty.go
- CfnService_RegisteredMCPServerDetailsProperty.go
- CfnService_RegisteredMCPServerGrafanaDetailsProperty.go
- CfnService_RegisteredMCPServerSigV4DetailsProperty.go
- CfnService_RegisteredNewRelicDetailsProperty.go
- CfnService_RegisteredPagerDutyDetailsProperty.go
- CfnService_RegisteredServiceNowDetailsProperty.go
- CfnService_ServiceDetailsProperty.go
- CfnService_ServiceNowAuthorizationConfigProperty.go
- CfnService_ServiceNowServiceDetailsProperty.go
- CfnService__checks.go
- main.go