@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.114Z") @Stability(value=Stable) public class CfnAssessment extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.auditmanager.*;
CfnAssessment cfnAssessment = CfnAssessment.Builder.create(this, "MyCfnAssessment")
.assessmentReportsDestination(AssessmentReportsDestinationProperty.builder()
.destination("destination")
.destinationType("destinationType")
.build())
.awsAccount(AWSAccountProperty.builder()
.emailAddress("emailAddress")
.id("id")
.name("name")
.build())
.description("description")
.frameworkId("frameworkId")
.name("name")
.roles(List.of(RoleProperty.builder()
.roleArn("roleArn")
.roleType("roleType")
.build()))
.scope(ScopeProperty.builder()
.awsAccounts(List.of(AWSAccountProperty.builder()
.emailAddress("emailAddress")
.id("id")
.name("name")
.build()))
.awsServices(List.of(AWSServiceProperty.builder()
.serviceName("serviceName")
.build()))
.build())
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnAssessment.AssessmentReportsDestinationProperty
Example:
|
static interface |
CfnAssessment.AWSAccountProperty
Example:
|
static interface |
CfnAssessment.AWSServiceProperty
Example:
|
static class |
CfnAssessment.Builder
A fluent builder for
CfnAssessment. |
static interface |
CfnAssessment.DelegationProperty
Example:
|
static interface |
CfnAssessment.RoleProperty
Example:
|
static interface |
CfnAssessment.ScopeProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnAssessment(software.constructs.Construct scope,
String id)
Create a new `AWS::AuditManager::Assessment`.
|
|
CfnAssessment(software.constructs.Construct scope,
String id,
CfnAssessmentProps props)
Create a new `AWS::AuditManager::Assessment`.
|
protected |
CfnAssessment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnAssessment(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAssessmentReportsDestination()
`AWS::AuditManager::Assessment.AssessmentReportsDestination`.
|
String |
getAttrArn() |
String |
getAttrAssessmentId() |
IResolvable |
getAttrCreationTime() |
IResolvable |
getAttrDelegations() |
Object |
getAwsAccount()
`AWS::AuditManager::Assessment.AwsAccount`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::AuditManager::Assessment.Description`.
|
String |
getFrameworkId()
`AWS::AuditManager::Assessment.FrameworkId`.
|
String |
getName()
`AWS::AuditManager::Assessment.Name`.
|
Object |
getRoles()
`AWS::AuditManager::Assessment.Roles`.
|
Object |
getScope()
`AWS::AuditManager::Assessment.Scope`.
|
String |
getStatus()
`AWS::AuditManager::Assessment.Status`.
|
TagManager |
getTags()
`AWS::AuditManager::Assessment.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAssessmentReportsDestination(CfnAssessment.AssessmentReportsDestinationProperty value)
`AWS::AuditManager::Assessment.AssessmentReportsDestination`.
|
void |
setAssessmentReportsDestination(IResolvable value)
`AWS::AuditManager::Assessment.AssessmentReportsDestination`.
|
void |
setAwsAccount(CfnAssessment.AWSAccountProperty value)
`AWS::AuditManager::Assessment.AwsAccount`.
|
void |
setAwsAccount(IResolvable value)
`AWS::AuditManager::Assessment.AwsAccount`.
|
void |
setDescription(String value)
`AWS::AuditManager::Assessment.Description`.
|
void |
setFrameworkId(String value)
`AWS::AuditManager::Assessment.FrameworkId`.
|
void |
setName(String value)
`AWS::AuditManager::Assessment.Name`.
|
void |
setRoles(IResolvable value)
`AWS::AuditManager::Assessment.Roles`.
|
void |
setRoles(List<Object> value)
`AWS::AuditManager::Assessment.Roles`.
|
void |
setScope(CfnAssessment.ScopeProperty value)
`AWS::AuditManager::Assessment.Scope`.
|
void |
setScope(IResolvable value)
`AWS::AuditManager::Assessment.Scope`.
|
void |
setStatus(String value)
`AWS::AuditManager::Assessment.Status`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnAssessment(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnAssessment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnAssessment(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnAssessmentProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnAssessment(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @Nullable public Object getAssessmentReportsDestination()
@Stability(value=Stable)
public void setAssessmentReportsDestination(@Nullable
CfnAssessment.AssessmentReportsDestinationProperty value)
@Stability(value=Stable)
public void setAssessmentReportsDestination(@Nullable
IResolvable value)
@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrAssessmentId()
@Stability(value=Stable) @NotNull public IResolvable getAttrCreationTime()
@Stability(value=Stable) @NotNull public IResolvable getAttrDelegations()
@Stability(value=Stable) @Nullable public Object getAwsAccount()
@Stability(value=Stable)
public void setAwsAccount(@Nullable
CfnAssessment.AWSAccountProperty value)
@Stability(value=Stable)
public void setAwsAccount(@Nullable
IResolvable value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getFrameworkId()
@Stability(value=Stable)
public void setFrameworkId(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getRoles()
@Stability(value=Stable)
public void setRoles(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setRoles(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getScope()
@Stability(value=Stable)
public void setScope(@Nullable
CfnAssessment.ScopeProperty value)
@Stability(value=Stable)
public void setScope(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getStatus()
@Stability(value=Stable)
public void setStatus(@Nullable
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.