AgentPermissionsProperty Struct
The agent permissions attached to this profiling group.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codeguruprofiler as codeguruprofiler } from 'aws-cdk-lib';
const agentPermissionsProperty: codeguruprofiler.CfnProfilingGroup.AgentPermissionsProperty = {
principals: ['principals'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codeguruprofiler as codeguruprofiler
agent_permissions_property = codeguruprofiler.CfnProfilingGroup.AgentPermissionsProperty(
principals=["principals"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codeguruprofiler.*;
AgentPermissionsProperty agentPermissionsProperty = AgentPermissionsProperty.builder()
.principals(List.of("principals"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeGuruProfiler;
var agentPermissionsProperty = new AgentPermissionsProperty {
Principals = new [] { "principals" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"
agentPermissionsProperty := &AgentPermissionsProperty{
Principals: []*string{
jsii.String("principals"),
},
}
Properties
principalsstring[]principalstyping.List[str]principalsList<String>Principalsstring[]Principals*[]*string required #The principals for the agent permissions.