Class CfnResource
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
- Direct Known Subclasses:
CfnAccelerator,CfnAcceptedPortfolioShare,CfnAccessEntry,CfnAccessGrant,CfnAccessGrantsInstance,CfnAccessGrantsLocation,CfnAccessKey,CfnAccessLogSubscription,CfnAccessor,CfnAccessPoint,CfnAccessPoint,CfnAccessPoint,CfnAccessPoint,CfnAccessPoint,CfnAccessPointPolicy,CfnAccessPolicy,CfnAccessPolicy,CfnAccount,CfnAccount,CfnAccount,CfnAccountAlias,CfnAccountAuditConfiguration,CfnAccountPolicy,CfnACL,CfnActivity,CfnAddon,CfnADMChannel,CfnAgent,CfnAgent,CfnAgentAlias,CfnAgentStatus,CfnAggregationAuthorization,CfnAggregatorV2,CfnAgreement,CfnAIAgent,CfnAIAgentVersion,CfnAIGuardrail,CfnAIGuardrailVersion,CfnAIPrompt,CfnAIPromptVersion,CfnAlarm,CfnAlarm,CfnAlarmModel,CfnAlert,CfnAlias,CfnAlias,CfnAlias,CfnAlias,CfnAllowList,CfnAnalysis,CfnAnalysisTemplate,CfnAnalyzer,CfnAnnotationStore,CfnAnomalyDetector,CfnAnomalyDetector,CfnAnomalyDetector,CfnAnomalyMonitor,CfnAnomalySubscription,CfnAnycastIpList,CfnApi,CfnApi,CfnApi,CfnApiCache,CfnApiDestination,CfnApiGatewayManagedOverrides,CfnApiKey,CfnApiKey,CfnAPIKey,CfnApiMapping,CfnAPNSChannel,CfnAPNSSandboxChannel,CfnAPNSVoipChannel,CfnAPNSVoipSandboxChannel,CfnApp,CfnApp,CfnApp,CfnApp,CfnApp,CfnAppBlock,CfnAppBlockBuilder,CfnAppImageConfig,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplication,CfnApplicationAssignment,CfnApplicationCloudWatchLoggingOption,CfnApplicationCloudWatchLoggingOptionV2,CfnApplicationEntitlementAssociation,CfnApplicationFleetAssociation,CfnApplicationInferenceProfile,CfnApplicationInstance,CfnApplicationOutput,CfnApplicationOutput,CfnApplicationOutputV2,CfnApplicationReferenceDataSource,CfnApplicationReferenceDataSource,CfnApplicationReferenceDataSourceV2,CfnApplicationSettings,CfnApplicationV2,CfnApplicationVersion,CfnAppMonitor,CfnApprovalTeam,CfnApprovedOrigin,CfnArchive,CfnAssessment,CfnAssessmentTarget,CfnAssessmentTemplate,CfnAsset,CfnAsset,CfnAssetModel,CfnAssignment,CfnAssistant,CfnAssistantAssociation,CfnAssociation,CfnAttributeGroup,CfnAttributeGroupAssociation,CfnAuthorizer,CfnAuthorizer,CfnAuthorizer,CfnAuthPolicy,CfnAutomatedReasoningPolicy,CfnAutomatedReasoningPolicyVersion,CfnAutomationRule,CfnAutomationRuleV2,CfnAutoScalingConfiguration,CfnAutoScalingGroup,CfnAutoshiftObserverNotificationStatus,CfnAwsLogSource,CfnBackupPlan,CfnBackupSelection,CfnBackupVault,CfnBaiduChannel,CfnBasePathMapping,CfnBasePathMappingV2,CfnBatchScramSecret,CfnBillingGroup,CfnBillingGroup,CfnBlueprint,CfnBot,CfnBotAlias,CfnBotVersion,CfnBranch,CfnBridge,CfnBridgeOutput,CfnBridgeSource,CfnBroker,CfnBrowserCustom,CfnBrowserSettings,CfnBucket,CfnBucket,CfnBucket,CfnBucketPolicy,CfnBucketPolicy,CfnBucketPolicy,CfnBudget,CfnBudgetsAction,CfnBuild,CfnByteMatchSet,CfnByteMatchSet,CfnCACertificate,CfnCacheCluster,CfnCachePolicy,CfnCalculatedAttributeDefinition,CfnCampaign,CfnCampaign,CfnCampaign,CfnCampaign,CfnCanary,CfnCapability,CfnCapability,CfnCapacityManagerDataExport,CfnCapacityProvider,CfnCapacityProvider,CfnCapacityReservation,CfnCapacityReservation,CfnCapacityReservationFleet,CfnCarrierGateway,CfnCell,CfnCertificate,CfnCertificate,CfnCertificate,CfnCertificate,CfnCertificate,CfnCertificate,CfnCertificateAuthority,CfnCertificateAuthorityActivation,CfnCertificateProvider,CfnChallenge,CfnChannel,CfnChannel,CfnChannel,CfnChannel,CfnChannel,CfnChannel,CfnChannel,CfnChannelAssociation,CfnChannelGroup,CfnChannelNamespace,CfnChannelPlacementGroup,CfnChannelPolicy,CfnChannelPolicy,CfnCidrCollection,CfnCisScanConfiguration,CfnClassifier,CfnClientCertificate,CfnClientVpnAuthorizationRule,CfnClientVpnEndpoint,CfnClientVpnRoute,CfnClientVpnTargetNetworkAssociation,CfnCloudAutonomousVmCluster,CfnCloudExadataInfrastructure,CfnCloudFormationProduct,CfnCloudFormationProvisionedProduct,CfnCloudFrontOriginAccessIdentity,CfnCloudVmCluster,CfnCloudWatchAlarmTemplate,CfnCloudWatchAlarmTemplateGroup,CfnCluster,CfnCluster,CfnCluster,CfnCluster,CfnCluster,CfnCluster,CfnCluster,CfnCluster,CfnCluster,CfnCluster,CfnCluster,CfnCluster,CfnCluster,CfnClusterCapacityProviderAssociations,CfnClusterParameterGroup,CfnClusterPolicy,CfnClusterSecurityGroup,CfnClusterSecurityGroupIngress,CfnClusterSubnetGroup,CfnCodeInterpreterCustom,CfnCodeRepository,CfnCodeSecurityIntegration,CfnCodeSecurityScanConfiguration,CfnCodeSigningConfig,CfnCollaboration,CfnCollection,CfnCollection,CfnCommand,CfnComponent,CfnComponent,CfnComponentType,CfnComponentVersion,CfnCompositeAlarm,CfnComputationModel,CfnComputeEnvironment,CfnComputeNodeGroup,CfnConfig,CfnConfigRule,CfnConfiguration,CfnConfiguration,CfnConfigurationAggregator,CfnConfigurationAssociation,CfnConfigurationManager,CfnConfigurationPolicy,CfnConfigurationProfile,CfnConfigurationRecorder,CfnConfigurationSet,CfnConfigurationSet,CfnConfigurationSet,CfnConfigurationSetEventDestination,CfnConfigurationSetEventDestination,CfnConfigurationTemplate,CfnConfiguredTable,CfnConfiguredTableAssociation,CfnConformancePack,CfnConnectAttachment,CfnConnection,CfnConnection,CfnConnection,CfnConnection,CfnConnection,CfnConnectionAlias,CfnConnectionFunction,CfnConnectionGroup,CfnConnector,CfnConnector,CfnConnector,CfnConnector,CfnConnector,CfnConnectorDefinition,CfnConnectorDefinitionVersion,CfnConnectorProfile,CfnConnectPeer,CfnConsumableResource,CfnContact,CfnContactChannel,CfnContactFlow,CfnContactFlowModule,CfnContactFlowVersion,CfnContactList,CfnContainer,CfnContainer,CfnContainerFleet,CfnContainerGroupDefinition,CfnContainerRecipe,CfnContinuousDeploymentPolicy,CfnControlPanel,CfnCoreDefinition,CfnCoreDefinitionVersion,CfnCoreNetwork,CfnCostCategory,CfnCrawler,CfnCRL,CfnCrossAccountAttachment,CfnCustomAction,CfnCustomActionType,CfnCustomDataIdentifier,CfnCustomDBEngineVersion,CfnCustomEntityType,CfnCustomerGateway,CfnCustomerGatewayAssociation,CfnCustomLineItem,CfnCustomMetric,CfnCustomPermissions,CfnCustomPlugin,CfnCustomResource,CfnCustomResource,CfnDashboard,CfnDashboard,CfnDashboard,CfnDashboard,CfnDataAccessor,CfnDataAutomationProject,CfnDatabase,CfnDatabase,CfnDatabase,CfnDataCatalog,CfnDataCatalogEncryptionSettings,CfnDataCellsFilter,CfnDataflowEndpointGroup,CfnDataIntegration,CfnDataLake,CfnDataLakeSettings,CfnDataMigration,CfnDataProtectionSettings,CfnDataProvider,CfnDataQualityJobDefinition,CfnDataQualityRuleset,CfnDataRepositoryAssociation,CfnDataset,CfnDataset,CfnDataset,CfnDataset,CfnDataset,CfnDataSet,CfnDatasetGroup,CfnDatasetGroup,CfnDataSource,CfnDataSource,CfnDataSource,CfnDataSource,CfnDataSource,CfnDataSource,CfnDatastore,CfnDatastore,CfnDBCluster,CfnDBCluster,CfnDBCluster,CfnDBClusterParameterGroup,CfnDBClusterParameterGroup,CfnDBClusterParameterGroup,CfnDBInstance,CfnDBInstance,CfnDBInstance,CfnDBParameterGroup,CfnDBParameterGroup,CfnDBProxy,CfnDBProxyEndpoint,CfnDBProxyTargetGroup,CfnDBSecurityGroup,CfnDBSecurityGroupIngress,CfnDBShardGroup,CfnDBSubnetGroup,CfnDBSubnetGroup,CfnDBSubnetGroup,CfnDecoderManifest,CfnDedicatedIpPool,CfnDedicatedIpPool,CfnDefaultViewAssociation,CfnDelegatedAdmin,CfnDelivery,CfnDeliveryChannel,CfnDeliveryDestination,CfnDeliverySource,CfnDeliveryStream,CfnDeployment,CfnDeployment,CfnDeployment,CfnDeployment,CfnDeployment,CfnDeployment,CfnDeploymentConfig,CfnDeploymentGroup,CfnDeploymentStrategy,CfnDestination,CfnDestination,CfnDetector,CfnDetector,CfnDetectorModel,CfnDevEndpoint,CfnDevice,CfnDevice,CfnDeviceDefinition,CfnDeviceDefinitionVersion,CfnDeviceFleet,CfnDevicePool,CfnDeviceProfile,CfnDHCPOptions,CfnDimension,CfnDirectConnectGatewayAttachment,CfnDirectoryBucket,CfnDirectoryConfig,CfnDirectoryRegistration,CfnDiscoverer,CfnDiscovery,CfnDisk,CfnDiskSnapshot,CfnDistribution,CfnDistribution,CfnDistributionConfiguration,CfnDistributionTenant,CfnDNSSEC,CfnDocument,CfnDocumentationPart,CfnDocumentationVersion,CfnDocumentClassifier,CfnDomain,CfnDomain,CfnDomain,CfnDomain,CfnDomain,CfnDomain,CfnDomain,CfnDomain,CfnDomain,CfnDomain,CfnDomainConfiguration,CfnDomainName,CfnDomainName,CfnDomainName,CfnDomainNameAccessAssociation,CfnDomainNameApiAssociation,CfnDomainNameV2,CfnDomainUnit,CfnDomainVerification,CfnDRTAccess,CfnEC2Fleet,CfnEgressOnlyInternetGateway,CfnEIP,CfnEIPAssociation,CfnElasticLoadBalancerAttachment,CfnEmailAddress,CfnEmailChannel,CfnEmailContact,CfnEmailIdentity,CfnEmailTemplate,CfnEnabledBaseline,CfnEnabledControl,CfnEnclaveCertificateIamRoleAssociation,CfnEncoderConfiguration,CfnEncryptionConfiguration,CfnEndpoint,CfnEndpoint,CfnEndpoint,CfnEndpoint,CfnEndpointAccess,CfnEndpointAuthorization,CfnEndpointConfig,CfnEndpointGroup,CfnEntitlement,CfnEntity,CfnEntityType,CfnEnvironment,CfnEnvironment,CfnEnvironment,CfnEnvironment,CfnEnvironment,CfnEnvironment,CfnEnvironment,CfnEnvironment,CfnEnvironment,CfnEnvironmentAccountConnection,CfnEnvironmentActions,CfnEnvironmentBlueprintConfiguration,CfnEnvironmentEC2,CfnEnvironmentProfile,CfnEnvironmentTemplate,CfnEvaluationForm,CfnEventBridgeRuleTemplate,CfnEventBridgeRuleTemplateGroup,CfnEventBus,CfnEventBusPolicy,CfnEventDataStore,CfnEventIntegration,CfnEventInvokeConfig,CfnEventRule,CfnEventSourceMapping,CfnEventStream,CfnEventStream,CfnEventSubscription,CfnEventSubscription,CfnEventSubscription,CfnEventSubscription,CfnEventSubscription,CfnEventTrigger,CfnEventType,CfnExecutionPlan,CfnExperiment,CfnExperimentTemplate,CfnExport,CfnExpressGatewayService,CfnExtension,CfnExtensionAssociation,CfnFaq,CfnFargateProfile,CfnFarm,CfnFeature,CfnFeatureGroup,CfnFHIRDatastore,CfnFileSystem,CfnFileSystem,CfnFilter,CfnFilter,CfnFindingAggregator,CfnFindingsFilter,CfnFirewall,CfnFirewallDomainList,CfnFirewallPolicy,CfnFirewallRuleGroup,CfnFirewallRuleGroupAssociation,CfnFleet,CfnFleet,CfnFleet,CfnFleet,CfnFleet,CfnFleet,CfnFleetMetric,CfnFlow,CfnFlow,CfnFlow,CfnFlowAlias,CfnFlowEntitlement,CfnFlowLog,CfnFlowOutput,CfnFlowSource,CfnFlowTemplate,CfnFlowVersion,CfnFlowVpcInterface,CfnFlywheel,CfnFolder,CfnForm,CfnFormType,CfnFramework,CfnFunction,CfnFunction,CfnFunction,CfnFunctionConfiguration,CfnFunctionDefinition,CfnFunctionDefinitionVersion,CfnFuotaTask,CfnGameServerGroup,CfnGameSessionQueue,CfnGateway,CfnGateway,CfnGateway,CfnGatewayResponse,CfnGatewayRoute,CfnGatewayRouteTableAssociation,CfnGatewayTarget,CfnGCMChannel,CfnGeofenceCollection,CfnGeoMatchSet,CfnGitHubRepository,CfnGlobalCluster,CfnGlobalNetwork,CfnGlobalReplicationGroup,CfnGlobalTable,CfnGrant,CfnGraph,CfnGraph,CfnGraphQLApi,CfnGraphQLSchema,CfnGroup,CfnGroup,CfnGroup,CfnGroup,CfnGroup,CfnGroup,CfnGroupingConfiguration,CfnGroupMembership,CfnGroupPolicy,CfnGroupProfile,CfnGroupVersion,CfnGuardHook,CfnGuardHook,CfnGuardrail,CfnGuardrailVersion,CfnHealthCheck,CfnHookDefaultVersion,CfnHookDefaultVersion,CfnHookTypeConfig,CfnHookTypeConfig,CfnHookVersion,CfnHookVersion,CfnHost,CfnHostedConfigurationVersion,CfnHostedZone,CfnHoursOfOperation,CfnHttpApi,CfnHttpNamespace,CfnHub,CfnHubV2,CfnHypervisor,CfnIdentity,CfnIdentityCenterConfiguration,CfnIdentityPool,CfnIdentityPoolPrincipalTag,CfnIdentityPoolRoleAttachment,CfnIdentityProvider,CfnIdentityProviderConfig,CfnIdentitySource,CfnIdentitySource,CfnIdMappingTable,CfnIdMappingWorkflow,CfnIdNamespace,CfnIdNamespaceAssociation,CfnImage,CfnImage,CfnImageBuilder,CfnImagePipeline,CfnImageRecipe,CfnImageVersion,CfnInAppTemplate,CfnInboundExternalLink,CfnIndex,CfnIndex,CfnIndex,CfnIndex,CfnIndex,CfnInferenceComponent,CfnInferenceExperiment,CfnInferenceScheduler,CfnInfluxDBInstance,CfnInfrastructureConfiguration,CfnIngestConfiguration,CfnInput,CfnInput,CfnInputSecurityGroup,CfnInsight,CfnInsightRule,CfnInstance,CfnInstance,CfnInstance,CfnInstance,CfnInstance,CfnInstance,CfnInstanceAccessControlAttributeConfiguration,CfnInstanceConnectEndpoint,CfnInstanceFleetConfig,CfnInstanceGroupConfig,CfnInstanceProfile,CfnInstanceProfile,CfnInstanceProfile,CfnInstanceSnapshot,CfnInstanceStorageConfig,CfnIntegration,CfnIntegration,CfnIntegration,CfnIntegration,CfnIntegration,CfnIntegration,CfnIntegrationAssociation,CfnIntegrationResourceProperty,CfnIntegrationResponse,CfnIntelligentPromptRouter,CfnInternetGateway,CfnInvestigationGroup,CfnInvoiceUnit,CfnIpAccessSettings,CfnIPAM,CfnIPAMAllocation,CfnIPAMPool,CfnIPAMPoolCidr,CfnIPAMResourceDiscovery,CfnIPAMResourceDiscoveryAssociation,CfnIPAMScope,CfnIpPoolRouteTableAssociation,CfnIPSet,CfnIPSet,CfnIPSet,CfnIPSet,CfnJob,CfnJob,CfnJobDefinition,CfnJobQueue,CfnJobTemplate,CfnJobTemplate,CfnKey,CfnKey,CfnKeyGroup,CfnKeyPair,CfnKeySigningKey,CfnKeyspace,CfnKeyValueStore,CfnKnowledgeBase,CfnKnowledgeBase,CfnLabel,CfnLambdaHook,CfnLambdaHook,CfnLandingZone,CfnLaunch,CfnLaunchConfiguration,CfnLaunchNotificationConstraint,CfnLaunchProfile,CfnLaunchRoleConstraint,CfnLaunchTemplate,CfnLaunchTemplateConstraint,CfnLayer,CfnLayerVersion,CfnLayerVersion,CfnLayerVersionPermission,CfnLedger,CfnLicense,CfnLicenseEndpoint,CfnLifecycleAutomation,CfnLifecycleHook,CfnLifecyclePolicy,CfnLifecyclePolicy,CfnLifecyclePolicy,CfnLimit,CfnLink,CfnLink,CfnLink,CfnLinkAssociation,CfnList,CfnListener,CfnListener,CfnListener,CfnListenerCertificate,CfnListenerRule,CfnLiveSource,CfnLoadBalancer,CfnLoadBalancer,CfnLoadBalancer,CfnLoadBalancerTlsCertificate,CfnLocalGatewayRoute,CfnLocalGatewayRouteTable,CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociation,CfnLocalGatewayRouteTableVPCAssociation,CfnLocalGatewayVirtualInterface,CfnLocalGatewayVirtualInterfaceGroup,CfnLocation,CfnLocationAzureBlob,CfnLocationEFS,CfnLocationFSxLustre,CfnLocationFSxONTAP,CfnLocationFSxOpenZFS,CfnLocationFSxWindows,CfnLocationHDFS,CfnLocationNFS,CfnLocationObjectStorage,CfnLocationS3,CfnLocationSMB,CfnLogAnomalyDetectionIntegration,CfnLogAnomalyDetector,CfnLogDeliveryConfiguration,CfnLoggerDefinition,CfnLoggerDefinitionVersion,CfnLogging,CfnLoggingConfiguration,CfnLoggingConfiguration,CfnLoggingConfiguration,CfnLogGroup,CfnLogicallyAirGappedBackupVault,CfnLogStream,CfnMacro,CfnMacro,CfnMailManagerAddonInstance,CfnMailManagerAddonSubscription,CfnMailManagerAddressList,CfnMailManagerArchive,CfnMailManagerIngressPoint,CfnMailManagerRelay,CfnMailManagerRuleSet,CfnMailManagerTrafficPolicy,CfnMaintenanceWindow,CfnMaintenanceWindowTarget,CfnMaintenanceWindowTask,CfnMalwareProtectionPlan,CfnManagedLoginBranding,CfnManagedNotificationAccountContactAssociation,CfnManagedNotificationAdditionalChannelAssociation,CfnManagedPolicy,CfnMap,CfnMaster,CfnMatchingWorkflow,CfnMatchmakingConfiguration,CfnMatchmakingRuleSet,CfnMember,CfnMember,CfnMemberInvitation,CfnMembership,CfnMemory,CfnMesh,CfnMessageTemplate,CfnMessageTemplateVersion,CfnMeteredProduct,CfnMethod,CfnMetricFilter,CfnMetricStream,CfnMicrosoftAD,CfnMicrosoftTeamsChannelConfiguration,CfnMigrationProject,CfnMissionProfile,CfnMitigationAction,CfnMlflowTrackingServer,CfnMLTransform,CfnModel,CfnModel,CfnModel,CfnModelBiasJobDefinition,CfnModelCard,CfnModelExplainabilityJobDefinition,CfnModelManifest,CfnModelPackage,CfnModelPackageGroup,CfnModelQualityJobDefinition,CfnModuleDefaultVersion,CfnModuleDefaultVersion,CfnModuleVersion,CfnModuleVersion,CfnMonitor,CfnMonitor,CfnMonitoringSchedule,CfnMonitoringSubscription,CfnMountTarget,CfnMulticastGroup,CfnMultiplex,CfnMultiplexprogram,CfnMultiRegionAccessPoint,CfnMultiRegionAccessPointPolicy,CfnMultiRegionCluster,CfnMultiRegionEndpoint,CfnNamedQuery,CfnNamespace,CfnNamespace,CfnNatGateway,CfnNetwork,CfnNetworkAcl,CfnNetworkAclEntry,CfnNetworkAnalyzerConfiguration,CfnNetworkInsightsAccessScope,CfnNetworkInsightsAccessScopeAnalysis,CfnNetworkInsightsAnalysis,CfnNetworkInsightsPath,CfnNetworkInterface,CfnNetworkInterfaceAttachment,CfnNetworkInterfacePermission,CfnNetworkPerformanceMetricSubscription,CfnNetworkProfile,CfnNetworkSettings,CfnNode,CfnNodegroup,CfnNotebookInstance,CfnNotebookInstanceLifecycleConfig,CfnNotificationChannel,CfnNotificationChannel,CfnNotificationConfiguration,CfnNotificationHub,CfnNotificationRule,CfnObjectType,CfnObservabilityConfiguration,CfnOdbNetwork,CfnOdbPeeringConnection,CfnOIDCProvider,CfnOptionGroup,CfnOptOutList,CfnOrganization,CfnOrganizationAdmin,CfnOrganizationalUnit,CfnOrganizationalUnitAssociation,CfnOrganizationCentralizationRule,CfnOrganizationConfigRule,CfnOrganizationConfiguration,CfnOrganizationConformancePack,CfnOrganizationTelemetryRule,CfnOriginAccessControl,CfnOriginEndpoint,CfnOriginEndpoint,CfnOriginEndpointPolicy,CfnOriginRequestPolicy,CfnOutboundExternalLink,CfnOutcome,CfnOutpostResolver,CfnOwner,CfnPackage,CfnPackageGroup,CfnPackageVersion,CfnPackagingConfiguration,CfnPackagingGroup,CfnParameter,CfnParameterGroup,CfnParameterGroup,CfnParameterGroup,CfnPartition,CfnPartnerAccount,CfnPartnerApp,CfnPartnership,CfnPatchBaseline,CfnPermission,CfnPermission,CfnPermission,CfnPermission,CfnPermissions,CfnPermissionSet,CfnPhoneNumber,CfnPhoneNumber,CfnPipe,CfnPipeline,CfnPipeline,CfnPipeline,CfnPipeline,CfnPipeline,CfnPlaceIndex,CfnPlacementGroup,CfnPlan,CfnPlan,CfnPlaybackConfiguration,CfnPlaybackKeyPair,CfnPlaybackRestrictionPolicy,CfnPlugin,CfnPodIdentityAssociation,CfnPolicy,CfnPolicy,CfnPolicy,CfnPolicy,CfnPolicy,CfnPolicyAssociation,CfnPolicyGrant,CfnPolicyPrincipalAttachment,CfnPolicyStatement,CfnPolicyStore,CfnPolicyTemplate,CfnPool,CfnPortal,CfnPortal,CfnPortfolio,CfnPortfolioPrincipalAssociation,CfnPortfolioProductAssociation,CfnPortfolioShare,CfnPredefinedAttribute,CfnPreferences,CfnPrefixList,CfnPreparedStatement,CfnPreset,CfnPricingPlan,CfnPricingRule,CfnPrimaryTaskSet,CfnPrincipalPermissions,CfnPrivacyBudgetTemplate,CfnPrivateDnsNamespace,CfnPrivateGraphEndpoint,CfnProactiveEngagement,CfnProcessingJob,CfnProductSubscription,CfnProfile,CfnProfile,CfnProfile,CfnProfile,CfnProfileAssociation,CfnProfilePermission,CfnProfileResourceAssociation,CfnProfilingGroup,CfnProject,CfnProject,CfnProject,CfnProject,CfnProject,CfnProject,CfnProject,CfnProject,CfnProject,CfnProjectMembership,CfnProjectProfile,CfnPrompt,CfnPrompt,CfnPromptVersion,CfnProtectConfiguration,CfnProtection,CfnProtectionGroup,CfnProvisioningTemplate,CfnPublicDnsNamespace,CfnPublicKey,CfnPublicKey,CfnPublicRepository,CfnPublicTypeVersion,CfnPublicTypeVersion,CfnPublisher,CfnPublisher,CfnPublishingDestination,CfnPullThroughCacheRule,CfnPullTimeUpdateExclusion,CfnPushTemplate,CfnQueryDefinition,CfnQueue,CfnQueue,CfnQueue,CfnQueue,CfnQueue,CfnQueueEnvironment,CfnQueueFleetAssociation,CfnQueueInlinePolicy,CfnQueueLimitAssociation,CfnQueuePolicy,CfnQuickConnect,CfnQuickResponse,CfnRateBasedRule,CfnReadinessCheck,CfnRealtimeLogConfig,CfnReceiptFilter,CfnReceiptRule,CfnReceiptRuleSet,CfnRecipe,CfnRecordingConfiguration,CfnRecordSet,CfnRecordSetGroup,CfnRecoveryGroup,CfnReferenceStore,CfnRefreshSchedule,CfnRegexPatternSet,CfnRegexPatternSet,CfnRegistry,CfnRegistry,CfnRegistryPolicy,CfnRegistryPolicy,CfnRegistryScanningConfiguration,CfnRemediationConfiguration,CfnReplicaKey,CfnReplicationConfig,CfnReplicationConfiguration,CfnReplicationGroup,CfnReplicationInstance,CfnReplicationSet,CfnReplicationSubnetGroup,CfnReplicationTask,CfnReplicator,CfnReportDefinition,CfnReportGroup,CfnReportPlan,CfnRepository,CfnRepository,CfnRepository,CfnRepositoryAssociation,CfnRepositoryCreationTemplate,CfnRepositoryLink,CfnRequesterGateway,CfnRequestValidator,CfnResiliencyPolicy,CfnResolver,CfnResolverConfig,CfnResolverDNSSECConfig,CfnResolverEndpoint,CfnResolverQueryLoggingConfig,CfnResolverQueryLoggingConfigAssociation,CfnResolverRule,CfnResolverRuleAssociation,CfnResource,CfnResource,CfnResourceAssociation,CfnResourceCollection,CfnResourceConfiguration,CfnResourceDataSync,CfnResourceDefaultVersion,CfnResourceDefaultVersion,CfnResourceDefinition,CfnResourceDefinitionVersion,CfnResourceGateway,CfnResourceGroup,CfnResourcePolicy,CfnResourcePolicy,CfnResourcePolicy,CfnResourcePolicy,CfnResourcePolicy,CfnResourcePolicy,CfnResourcePolicy,CfnResourcePolicy,CfnResourcePolicy,CfnResourcePolicy,CfnResourcePolicy,CfnResourceSet,CfnResourceSet,CfnResourceShare,CfnResourceSpecificLogging,CfnResourceUpdateConstraint,CfnResourceVersion,CfnResourceVersion,CfnResponderGateway,CfnResponseHeadersPolicy,CfnResponsePlan,CfnRestApi,CfnRestoreTestingPlan,CfnRestoreTestingSelection,CfnRetriever,CfnRobot,CfnRobotApplication,CfnRobotApplicationVersion,CfnRole,CfnRoleAlias,CfnRolePolicy,CfnRoom,CfnRotation,CfnRotationSchedule,CfnRoute,CfnRoute,CfnRoute,CfnRoute,CfnRouteCalculator,CfnRouteResponse,CfnRouterInput,CfnRouterNetworkInterface,CfnRouterOutput,CfnRouteServer,CfnRouteServerAssociation,CfnRouteServerEndpoint,CfnRouteServerPeer,CfnRouteServerPropagation,CfnRouteTable,CfnRoutingControl,CfnRoutingProfile,CfnRoutingRule,CfnRule,CfnRule,CfnRule,CfnRule,CfnRule,CfnRule,CfnRuleGroup,CfnRuleGroup,CfnRuleGroupsNamespace,CfnRuleset,CfnRunGroup,CfnRuntime,CfnRuntimeEndpoint,CfnS3AccessPointAttachment,CfnSafetyRule,CfnSAMLProvider,CfnSamplingRule,CfnScalableTarget,CfnScalingPlan,CfnScalingPolicy,CfnScalingPolicy,CfnScene,CfnSchedule,CfnSchedule,CfnScheduledAction,CfnScheduledAction,CfnScheduledAudit,CfnScheduledQuery,CfnScheduleGroup,CfnSchedulingPolicy,CfnSchema,CfnSchema,CfnSchema,CfnSchemaMapping,CfnSchemaVersion,CfnSchemaVersionMetadata,CfnScraper,CfnScript,CfnSdiSource,CfnSecret,CfnSecretTargetAttachment,CfnSecurityConfig,CfnSecurityConfiguration,CfnSecurityConfiguration,CfnSecurityControl,CfnSecurityGroup,CfnSecurityGroup,CfnSecurityGroupEgress,CfnSecurityGroupIngress,CfnSecurityGroupIngress,CfnSecurityGroupVpcAssociation,CfnSecurityKey,CfnSecurityPolicy,CfnSecurityProfile,CfnSecurityProfile,CfnSegment,CfnSegment,CfnSegmentDefinition,CfnSenderId,CfnSequenceStore,CfnServer,CfnServer,CfnServerCertificate,CfnServerlessCache,CfnServerlessCluster,CfnService,CfnService,CfnService,CfnService,CfnService,CfnServiceAction,CfnServiceActionAssociation,CfnServiceEnvironment,CfnServiceLevelObjective,CfnServiceLinkedRole,CfnServiceNetwork,CfnServiceNetworkResourceAssociation,CfnServiceNetworkServiceAssociation,CfnServiceNetworkVpcAssociation,CfnServicePrincipalName,CfnServiceProfile,CfnServiceTemplate,CfnSession,CfnSessionLogger,CfnSignalCatalog,CfnSignalingChannel,CfnSignalMap,CfnSigningConfiguration,CfnSigningProfile,CfnSimpleAD,CfnSimpleTable,CfnSimulation,CfnSimulationApplication,CfnSimulationApplicationVersion,CfnSink,CfnSite,CfnSiteToSiteVpnAttachment,CfnSizeConstraintSet,CfnSizeConstraintSet,CfnSkill,CfnSlackChannelConfiguration,CfnSlackChannelConfiguration,CfnSlackWorkspaceConfiguration,CfnSMSChannel,CfnSmsTemplate,CfnSnapshot,CfnSnapshot,CfnSnapshotBlockPublicAccess,CfnSoftwarePackage,CfnSoftwarePackageVersion,CfnSolution,CfnSourceApiAssociation,CfnSourceCredential,CfnSourceLocation,CfnSpace,CfnSpotFleet,CfnSqlInjectionMatchSet,CfnSqlInjectionMatchSet,CfnStack,CfnStack,CfnStack,CfnStack,CfnStackFleetAssociation,CfnStackSet,CfnStackSet,CfnStackSetConstraint,CfnStackUserAssociation,CfnStage,CfnStage,CfnStage,CfnStandard,CfnStateMachine,CfnStateMachine,CfnStateMachineAlias,CfnStateMachineVersion,CfnStateTemplate,CfnStaticIp,CfnStep,CfnStorageConfiguration,CfnStorageLens,CfnStorageLensGroup,CfnStorageProfile,CfnStorageVirtualMachine,CfnStoredQuery,CfnStream,CfnStream,CfnStream,CfnStreamConsumer,CfnStreamGroup,CfnStreamingDistribution,CfnStreamingImage,CfnStreamKey,CfnStreamProcessor,CfnStudio,CfnStudio,CfnStudioComponent,CfnStudioLifecycleConfig,CfnStudioSessionMapping,CfnSubnet,CfnSubnetCidrBlock,CfnSubnetGroup,CfnSubnetGroup,CfnSubnetGroup,CfnSubnetNetworkAclAssociation,CfnSubnetRouteTableAssociation,CfnSubscriber,CfnSubscriberNotification,CfnSubscription,CfnSubscriptionDefinition,CfnSubscriptionDefinitionVersion,CfnSubscriptionFilter,CfnSubscriptionTarget,CfnSuiteDefinition,CfnSyncConfiguration,CfnSyncJob,CfnTable,CfnTable,CfnTable,CfnTable,CfnTable,CfnTableBucket,CfnTableBucketPolicy,CfnTableOptimizer,CfnTablePolicy,CfnTag,CfnTagAssociation,CfnTagOption,CfnTagOptionAssociation,CfnTagSyncTask,CfnTargetAccountConfiguration,CfnTargetGroup,CfnTargetGroup,CfnTask,CfnTaskDefinition,CfnTaskDefinition,CfnTaskSet,CfnTaskTemplate,CfnTelemetryRule,CfnTemplate,CfnTemplate,CfnTemplate,CfnTemplateGroupAccessControlEntry,CfnTerms,CfnTestCase,CfnTestGridProject,CfnTheme,CfnTheme,CfnThing,CfnThingGroup,CfnThingPrincipalAttachment,CfnThingType,CfnThreatEntitySet,CfnThreatIntelSet,CfnTLSInspectionConfiguration,CfnTopic,CfnTopic,CfnTopicInlinePolicy,CfnTopicPolicy,CfnTopicRule,CfnTopicRuleDestination,CfnTracker,CfnTrackerConsumer,CfnTrafficDistributionGroup,CfnTrafficMirrorFilter,CfnTrafficMirrorFilterRule,CfnTrafficMirrorSession,CfnTrafficMirrorTarget,CfnTrail,CfnTrainingDataset,CfnTransactionSearchConfig,CfnTransformer,CfnTransformer,CfnTransitGateway,CfnTransitGatewayAttachment,CfnTransitGatewayConnect,CfnTransitGatewayConnectPeer,CfnTransitGatewayMeteringPolicy,CfnTransitGatewayMeteringPolicyEntry,CfnTransitGatewayMulticastDomain,CfnTransitGatewayMulticastDomainAssociation,CfnTransitGatewayMulticastGroupMember,CfnTransitGatewayMulticastGroupSource,CfnTransitGatewayPeering,CfnTransitGatewayPeeringAttachment,CfnTransitGatewayRegistration,CfnTransitGatewayRoute,CfnTransitGatewayRouteTable,CfnTransitGatewayRouteTableAssociation,CfnTransitGatewayRouteTableAttachment,CfnTransitGatewayRouteTablePropagation,CfnTransitGatewayVpcAttachment,CfnTrigger,CfnTrustAnchor,CfnTrustedEntitySet,CfnTrustStore,CfnTrustStore,CfnTrustStore,CfnTrustStoreRevocation,CfnType,CfnTypeActivation,CfnTypeActivation,CfnUrl,CfnUsagePlan,CfnUsagePlanKey,CfnUsageProfile,CfnUser,CfnUser,CfnUser,CfnUser,CfnUser,CfnUser,CfnUserAccessLoggingSettings,CfnUserGroup,CfnUserHierarchyGroup,CfnUserHierarchyStructure,CfnUserPolicy,CfnUserPool,CfnUserPoolClient,CfnUserPoolDomain,CfnUserPoolGroup,CfnUserPoolIdentityProvider,CfnUserPoolResourceServer,CfnUserPoolRiskConfigurationAttachment,CfnUserPoolUICustomizationAttachment,CfnUserPoolUser,CfnUserPoolUserToGroupAttachment,CfnUserProfile,CfnUserProfile,CfnUserProfile,CfnUserSettings,CfnUserToGroupAddition,CfnVariable,CfnVariantStore,CfnVdmAttributes,CfnVectorBucket,CfnVectorBucketPolicy,CfnVehicle,CfnVerifiedAccessEndpoint,CfnVerifiedAccessGroup,CfnVerifiedAccessInstance,CfnVerifiedAccessTrustProvider,CfnVersion,CfnView,CfnView,CfnViewVersion,CfnVirtualCluster,CfnVirtualGateway,CfnVirtualMFADevice,CfnVirtualNode,CfnVirtualRouter,CfnVirtualService,CfnVodSource,CfnVoiceChannel,CfnVolume,CfnVolume,CfnVolume,CfnVolume,CfnVolumeAssociation,CfnVolumeAttachment,CfnVPC,CfnVpcAttachment,CfnVPCBlockPublicAccessExclusion,CfnVPCBlockPublicAccessOptions,CfnVPCCidrBlock,CfnVpcConnection,CfnVPCConnection,CfnVpcConnector,CfnVPCDHCPOptionsAssociation,CfnVPCEConfiguration,CfnVPCEncryptionControl,CfnVpcEndpoint,CfnVPCEndpoint,CfnVpcEndpointAssociation,CfnVPCEndpointConnectionNotification,CfnVPCEndpointService,CfnVPCEndpointServicePermissions,CfnVPCGatewayAttachment,CfnVpcIngressConnection,CfnVpcLink,CfnVpcLink,CfnVpcOrigin,CfnVPCPeeringConnection,CfnVPNConcentrator,CfnVPNConnection,CfnVPNConnectionRoute,CfnVPNGateway,CfnVPNGatewayRoutePropagation,CfnWaitCondition,CfnWaitCondition,CfnWaitConditionHandle,CfnWaitConditionHandle,CfnWALWorkspace,CfnWarmPool,CfnWebACL,CfnWebACL,CfnWebACL,CfnWebACLAssociation,CfnWebACLAssociation,CfnWebApp,CfnWebExperience,CfnWebhook,CfnWirelessDevice,CfnWirelessDeviceImportTask,CfnWirelessGateway,CfnWorkerConfiguration,CfnWorkflow,CfnWorkflow,CfnWorkflow,CfnWorkflow,CfnWorkflowVersion,CfnWorkgroup,CfnWorkGroup,CfnWorkloadIdentity,CfnWorkspace,CfnWorkspace,CfnWorkspace,CfnWorkspace,CfnWorkspaceInstance,CfnWorkspacesPool,CfnWorkteam,CfnXssMatchSet,CfnXssMatchSet,CfnZonalAutoshiftConfiguration
Example:
public class MyConstruct extends Resource implements ITaggable {
public final Object tags;
public MyConstruct(Construct scope, String id) {
super(scope, id);
CfnResource.Builder.create(this, "Resource")
.type("Whatever::The::Type")
.properties(Map.of(
// ...
"Tags", this.tags.getRenderedTags()))
.build();
}
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnResource(software.amazon.jsii.JsiiObjectRef objRef) CfnResource(software.constructs.Construct scope, String id, CfnResourceProps props) Creates a resource construct. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeletionOverride(String path) Syntactic sugar foraddOverride(path, undefined).voidaddDependency(CfnResource target) Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.voidaddDependsOn(CfnResource target) Deprecated.use addDependencyvoidaddMetadata(String key, Object value) Add a value to the CloudFormation Resource Metadata.voidaddOverride(String path, Object value) Adds an override to the synthesized CloudFormation resource.voidaddPropertyDeletionOverride(String propertyPath) Adds an override that deletes the value of a property from the resource definition.voidaddPropertyOverride(String propertyPath, Object value) Adds an override to a resource property.voidSets the deletion policy of the resource based on the removal policy specified.voidapplyRemovalPolicy(RemovalPolicy policy) Sets the deletion policy of the resource based on the removal policy specified.voidapplyRemovalPolicy(RemovalPolicy policy, RemovalPolicyOptions options) Sets the deletion policy of the resource based on the removal policy specified.Returns a token for an runtime attribute of this resource.getAtt(String attributeName, ResolutionTypeHint typeHint) Returns a token for an runtime attribute of this resource.Options for this resource, such as condition, update policy etc.AWS resource type.getEnv()getMetadata(String key) Retrieve a value value from the CloudFormation Resource Metadata.Deprecated.useupdatedPropertiesReturn properties modified after initiation.static BooleanCheck whether the given object is a CfnResource.Retrieves an array of resources this resource depends on.Get a shallow copy of dependencies between this resource and other resources in the same stack.voidremoveDependency(CfnResource target) Indicates that this resource no longer depends on another resource.renderProperties(Map<String, Object> props) voidreplaceDependency(CfnResource target, CfnResource newTarget) Replaces one dependency with another.protected BooleanCan be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.toString()Returns a string representation of this construct.protected voidvalidateProperties(Object _properties) Methods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CfnResource
protected CfnResource(software.amazon.jsii.JsiiObjectRef objRef) -
CfnResource
protected CfnResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnResource
@Stability(Stable) public CfnResource(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnResourceProps props) Creates a resource construct.- Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
isCfnResource
Check whether the given object is a CfnResource.- Parameters:
x- This parameter is required.
-
addDeletionOverride
Syntactic sugar foraddOverride(path, undefined).- Parameters:
path- The path of the value to delete. This parameter is required.
-
addDependency
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.
- Parameters:
target- This parameter is required.
-
addDependsOn
Deprecated.use addDependency(deprecated) Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.- Parameters:
target- This parameter is required.
-
addMetadata
Add a value to the CloudFormation Resource Metadata.- Parameters:
key- This parameter is required.value- This parameter is required.- See Also:
-
addOverride
Adds an override to the synthesized CloudFormation resource.To add a property override, either use
addPropertyOverrideor prefixpathwith "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,
cfnResource.addOverride("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", List.of("myattribute")); cfnResource.addOverride("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE");would add the overrides
"Properties": { "GlobalSecondaryIndexes": [ { "Projection": { "NonKeyAttributes": [ "myattribute" ] ... } ... }, { "ProjectionType": "INCLUDE" ... }, ] ... }The
valueargument toaddOverridewill 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.- Parameters:
path-- The path of the property, you can use dot notation to override values in complex types.
value-- The value.
-
addPropertyDeletionOverride
Adds an override that deletes the value of a property from the resource definition.- Parameters:
propertyPath- The path to the property. This parameter is required.
-
addPropertyOverride
@Stability(Stable) public void addPropertyOverride(@NotNull String propertyPath, @NotNull Object value) Adds an override to a resource property.Syntactic sugar for
addOverride("Properties.<...>", value).- Parameters:
propertyPath- The path of the property. This parameter is required.value- The value. This parameter is required.
-
applyRemovalPolicy
@Stability(Stable) public void applyRemovalPolicy(@Nullable RemovalPolicy policy, @Nullable RemovalPolicyOptions options) 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:- Parameters:
policy-options-- See Also:
-
applyRemovalPolicy
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:- Parameters:
policy-- See Also:
-
applyRemovalPolicy
@Stability(Stable) public void applyRemovalPolicy()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 Also:
-
getAtt
@Stability(Stable) @NotNull public Reference getAtt(@NotNull String attributeName, @Nullable ResolutionTypeHint typeHint) 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.- Parameters:
attributeName- The name of the attribute. This parameter is required.typeHint-
-
getAtt
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.- Parameters:
attributeName- The name of the attribute. This parameter is required.
-
getMetadata
Retrieve a value value from the CloudFormation Resource Metadata.- Parameters:
key- This parameter is required.- See Also:
-
obtainDependencies
Retrieves an array of resources this resource depends on.This assembles dependencies on resources across stacks (including nested stacks) automatically.
Returns union: Listinvalid input: '<'either
StackorCfnResource> -
obtainResourceDependencies
Get a shallow copy of dependencies between this resource and other resources in the same stack. -
removeDependency
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.
- Parameters:
target- This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Parameters:
props- This parameter is required.
-
replaceDependency
@Stability(Stable) public void replaceDependency(@NotNull CfnResource target, @NotNull CfnResource newTarget) Replaces one dependency with another.- Parameters:
target- The dependency to replace. This parameter is required.newTarget- The new dependency to add. This parameter is required.
-
shouldSynthesize
Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.- Returns:
trueif the resource should be included orfalseis the resource should be omitted.
-
toString
Returns a string representation of this construct.- Overrides:
toStringin classsoftware.constructs.Construct- Returns:
- a string representation of this resource
-
validateProperties
- Parameters:
_properties- This parameter is required.
-
getCfnOptions
Options for this resource, such as condition, update policy etc. -
getCfnProperties
-
getCfnResourceType
AWS resource type. -
getEnv
-
getUpdatedProperites
Deprecated.useupdatedPropertiesReturn properties modified after initiation
Resources that expose mutable properties should override this function to collect and return the properties object for this resource.
(deprecated) Deprecated. -
getUpdatedProperties
Return properties modified after initiation.Resources that expose mutable properties should override this function to collect and return the properties object for this resource.
-